[Insight-users] vnl lib error

Alex. GOUAILLARD hanfei at caltech.edu
Wed Aug 1 19:27:22 EDT 2007


hi all,

I tried to install ITK from CVS on a debian machine and I have strange 
compilation errors.

I googled the error message but could not find anything helpfull. I 
tried to switch to static lib, same problem. I tried to skip the 
vnl_test_all project that was generating the first erros, but the same 
errors appear afterward.

Anyone got any idea?

My config:
Debian GNU/Linux 2.6.18-4-amd64 x86_64
gcc/g++ 4.1.2 20061115 (Debian 4.1.1-21)
make: GNU make 3.81 (x86_64-pc-linux-gnu)

ITK Config:
with review,
Debug,
shared ON,
coverage options.

Error log from make:
/root/QuadEdge/Insight/BUILD/bin/libitkvnl.so: undefined reference to 
`global constructors keyed to 
_root_QuadEdge_Insight_Utilities_vxl_core_vnl_Templates_vnl_matrix_fixed_ref_float.3.3_.cxx_1FD5A050_2D935839'
/root/QuadEdge/Insight/BUILD/bin/libitkvnl.so: undefined reference to 
`global constructors keyed to 
_root_QuadEdge_Insight_Utilities_vxl_core_vnl_Templates_vnl_matrix_uint_.cxx_1FD5A050_DDFCA457'
/root/QuadEdge/Insight/BUILD/bin/libitkvnl.so: undefined reference to 
`global constructors keyed to 
_root_QuadEdge_Insight_Utilities_vxl_core_vnl_Templates_vnl_matrix_fixed_ref_double.3.3_.cxx_1FD5A050_DC866386'
/root/QuadEdge/Insight/BUILD/bin/libitkvnl.so: undefined reference to 
`global constructors keyed to 
_root_QuadEdge_Insight_Utilities_vxl_core_vnl_Templates_vnl_sparse_matrix_vnl_bignum_.cxx_1FD5A050_0E6E34D4'
/root/QuadEdge/Insight/BUILD/bin/libitkvnl.so: undefined reference to 
`global constructors keyed to 
_root_QuadEdge_Insight_Utilities_vxl_core_vnl_Templates_vnl_matrix_fixed_float.2.2_.cxx_1FD5A050_606BAC04'
/root/QuadEdge/Insight/BUILD/bin/libitkvnl_inst.so: undefined reference 
to `global constructors keyed to 
_root_QuadEdge_Insight_Code_Common_vnl_matrix_fixed_ref_double.4.4_.cxx_1FD5A050_CBC0F9CF'
/root/QuadEdge/Insight/BUILD/bin/libitkvnl_inst.so: undefined reference 
to `global constructors keyed to 
_root_QuadEdge_Insight_Code_Common_vnl_matrix_fixed_ref_double.2.2_.cxx_1FD5A050_C87829A8'
/root/QuadEdge/Insight/BUILD/bin/libitkvnl.so: undefined reference to 
`global constructors keyed to 
_root_QuadEdge_Insight_Utilities_vxl_core_vnl_Templates_vnl_matlab_print_int_.cxx_1FD5A050_DBC0BAA7'
/root/QuadEdge/Insight/BUILD/bin/libitkvnl.so: undefined reference to 
`global constructors keyed to 
_root_QuadEdge_Insight_Utilities_vxl_core_vnl_Templates_vnl_matlab_print_uint_.cxx_1FD5A050_391F7554'
/root/QuadEdge/Insight/BUILD/bin/libitkvnl.so: undefined reference to 
`global constructors keyed to 
_root_QuadEdge_Insight_Utilities_vxl_core_vnl_Templates_vnl_matlab_print_long_double_.cxx_1FD5A050_4BE4A926'
collect2: ld returned 1 exit status
make[2]: *** [bin/itkNumericsHeaderTest] Error 1
make[1]: *** 
[Testing/Code/Numerics/CMakeFiles/itkNumericsHeaderTest.dir/all] Error 2
make: *** [all] Error 2

alex



More information about the Insight-users mailing list