[Insight-users] Help: compile errors on solaris
Zhu, Yaoyao (NIH/NLM/LHC) [C]
zhuyao at mail.nih.gov
Wed Jun 6 14:23:32 EDT 2007
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070606/2cae9d76/attachment.html
More information about the Insight-users
mailing list