[Cmake] AIX 5.2 issues
Andy Cedilnik
andy.cedilnik at kitware.com
Tue May 27 15:43:46 EDT 2003
Hi Jimmy,
We build CMake on AIX every night, however we use xlc/xlC, not gcc.
Could you please try simple example:
#include <iostream>
#include <time.h>
#include <unistd.h>
int main()
{
time_t secs;
time(&secs);
std::cout << "Time: " << time << std::endl;
return 0;
}
Andy
On Sun, 2003-05-25 at 16:54, Jimmy Dias wrote:
> Hey All,
>
> Has anyone been able to successfully build CMake on an AIX 5.2 machine? I
> installed g++-2.9.aix51.020209-3 and gcc-2.9.aix51.020209-3 instead of using
> AIX's native compiler (mostly because I don't know how or even if there IS a
> C++ compiler on the machine) but ./configure crashes with the following
> error:
>
>
>
>
>
> g++ -DCMAKE_ROOT_DIR='"/home/dias/install/source/cmake-1.6.7"' -DCMAKE_HAS_
> AUTOCONF -I/home/dias/install/source/cmake-1.6.7/Bootstrap/Source -c
> /home/dias/install/source/cmake-1.6.7/Source/cmSystemTools.cxx -o
> cmSystemTools.o
> /home/dias/install/source/cmake-1.6.7/Source/cmSystemTools.cxx: In function
> `double cmSystemTools::GetTime ()':
> /home/dias/install/source/cmake-1.6.7/Source/cmSystemTools.cxx:124: implicit
> declaration of function `int time (...)'
> make: The error code from the last command is 1.
>
>
> Stop.
> make: The error code from the last command is 2.
>
>
> Stop.
> Problem bootstrapping CMake
>
> I suppose setting compiler flags might work but I have no idea what flags to
> use. Any suggestions?
More information about the CMake
mailing list