[Insight-users] cmake errors
Tina Wang
tina06992003 at yahoo.com
Wed Oct 27 15:24:39 EDT 2004
Hi,All,
I was compiling the itk in a linux box and got the following errors. Could anyone give a hints about these errors?
Thanks,
Tina
more CMakeError.log
Determining the endianes of the system passed. The system is big endianTest produced following output:
Building object file TestBigEndian.o...
gcc -o TestBigEndian.o -I/mnt/SRC/ImgProcPackages/itkbin/CMakeTmp -c /usr/local/share/CMake/Modules/TestBigEndian.c
Building executable /mnt/SRC/ImgProcPackages/itkbin/CMakeTmp/cmTryCompileExec...
gcc -fPIC TestBigEndian.o -o /mnt/SRC/ImgProcPackages/itkbin/CMakeTmp/cmTryCompileExec -rdynamic
Determining if the function pthread_create exists in the pthreads failed with the following output:
Building object file CheckFunctionExists.o...
gcc -o CheckFunctionExists.o -DCHECK_FUNCTION_EXISTS=pthread_create -I/mnt/SRC/ImgProcPackages/itkbin/CMakeTmp -c /usr/l
ocal/share/CMake/Modules/CheckFunctionExists.c
Building executable /mnt/SRC/ImgProcPackages/itkbin/CMakeTmp/cmTryCompileExec...
gcc -DCHECK_FUNCTION_EXISTS=pthread_create -fPIC CheckFunctionExists.o -o /mnt/SRC/ImgProcPackages/itkbin/CMakeTmp/cm
TryCompileExec -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
gmake: *** [/mnt/SRC/ImgProcPackages/itkbin/CMakeTmp/cmTryCompileExec] Error 1
Value of the 22nd bit of a 32-bit quiet-NaN is 1TestQnanhibit.c produced following output:
Building object file TestQnanhibit.o...
gcc -o TestQnanhibit.o -I/mnt/SRC/ImgProcPackages/itkbin/CMakeTmp -c /mnt/SRC/ImgProcPackages/Insight1.8.0/CMake/TestQn
anhibit.c
Building executable /mnt/SRC/ImgProcPackages/itkbin/CMakeTmp/cmTryCompileExec...
gcc -fPIC TestQnanhibit.o -o /mnt/SRC/ImgProcPackages/itkbin/CMakeTmp/cmTryCompileExec -rdynamic
Performing Test VCL_FOR_SCOPE_HACK failed with the following output:
Building object file vxl_platform_tests.o...
c++ -o vxl_platform_tests.o -ftemplate-depth-50 -DVCL_FOR_SCOPE_HACK -I/mnt/SRC/ImgProcPackages/itkbin/CMakeTmp -c /mnt
/SRC/ImgProcPackages/Insight1.8.0/Utilities/vxl/config/cmake/config/vxl_platform_tests.cxx
Building executable /mnt/SRC/ImgProcPackages/itkbin/CMakeTmp/cmTryCompileExec...
c++ -ftemplate-depth-50 -DVCL_FOR_SCOPE_HACK -fPIC vxl_platform_tests.o -o /mnt/SRC/ImgProcPackages/itkbin/CMakeTmp
/cmTryCompileExec -rdynamic
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
gmake: *** [/mnt/SRC/ImgProcPackages/itkbin/CMakeTmp/cmTryCompileExec] Error 1
---------------------------------
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20041027/3113e17a/attachment.html
More information about the Insight-users
mailing list