[Insight-users] Help: compile errors on solaris

Luis Ibanez luis.ibanez at kitware.com
Wed Jun 6 16:53:47 EDT 2007


Hi Zhu,

What values do you have in the environment variables CC and CXX ?

Please let us know,


   Thanks


     Luis


=====================================
Zhu, Yaoyao (NIH/NLM/LHC) [C] wrote:
> Hi,
> 
>  
> 
> I am compiling ITK on Solaris (SunOS whistler 5.10 Generic_125100-08 sun4u sparc SUNW,Sun-Fire-280R ), configured with gcc/g++ (version 3.4.3), and I have the 
> 
> following errors:
> 
>  
> 
> [ 41%] Building CXX object 
> Utilities/vxl/core/vnl/tests/CMakeFiles/vnl_basic_operation_timings.dir/basic_operation_timings.o
> 
> Linking CXX executable ../../../../../bin/vnl_basic_operation_timings
> 
> Undefined                       first referenced
> 
>  symbol                             in file
> 
> vnl_unary_function<double, vnl_vector<double> >::get_range_min() 
> const/home/zhuyao/software/itkbuild/bin/libitkvnl.so
> 
> vnl_unary_function<double, vnl_vector<double> >::get_range_max() 
> const/home/zhuyao/software/itkbuild/bin/libitkvnl.so
> 
> ld: fatal: Symbol referencing errors. No output written to 
> ../../../../../bin/vnl_basic_operation_timings
> 
> collect2: ld returned 1 exit status
> 
> *** Error code 1
> 
> The following command caused the error:
> 
> cd /home/zhuyao/software/itkbuild/Utilities/vxl/core/vnl/tests && 
> /usr/sfw/bin/c++      -ftemplate-depth-50 -D_PTHREADS  -fPIC   
> "CMakeFiles/vnl_basic_operation_timings.dir/basic_operation_timings.o"   
> -o ../../../../../bin/vnl_basic_operation_timings  -L. 
> -L/home/zhuyao/software/itkbuild/bin -litkvnl -litkvcl -lm 
> -Wl,-R.:/home/zhuyao/software/itkbuild/bin
> 
> make: Fatal error: Command failed for target 
> `bin/vnl_basic_operation_timings'
> 
> Current working directory /home/zhuyao/software/itkbuild
> 
> *** Error code 1
> 
> The following command caused the error:
> 
> make -f 
> Utilities/vxl/core/vnl/tests/CMakeFiles/vnl_basic_operation_timings.dir/build.make 
> Utilities/vxl/core/vnl/tests/CMakeFiles/vnl_basic_operation_timings.dir/build
> 
> make: Fatal error: Command failed for target 
> `Utilities/vxl/core/vnl/tests/CMakeFiles/vnl_basic_operation_timings.dir/all'
> 
> Current working directory /home/zhuyao/software/itkbuild
> 
> *** Error code 1
> 
> The following command caused the error:
> 
> make -f CMakeFiles/Makefile2 all
> 
> make: Fatal error: Command failed for target `all'
> 
>  
> 
>  
> 
> Can anybody help?
> 
>  
> 
> Thanks in advance,
> 
>  
> 
> Yaoyao
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list