[Insight-users] vnl lib error

Alexandre GOUAILLARD hanfei at caltech.edu
Thu Aug 2 13:04:49 EDT 2007


Hi all,

I removed the coverage options (-fprofile-arcs -ftest-coverage) and it seems
to be OK now.

I will try to put back the coverage support later to check if that was
indeed the cause.

Matthias, I will try to reproduce your problem, can you give me more details
as how and when it happens?

Alex



On 8/2/07 7:48 AM, "Matthias Riechmann" <riechmann at ira.uka.de> wrote:

> Maybe one of my todays postings is related to this topic. The subject is
> "Linker Errors using ScalableAffineTransform". I got ITK compiled but
> when I instantiate "ScalableAffineTransform" then I get linker errors
> describing the absence of some symbols that are supposed to be part of
> this vnl library...
> 
> 
> Matthias
> 
> 
> 
> 
> Tomáš Kazmar schrieb:
>> Hi Alex,
>> 
>>  tried to compile today's ITK on a comparable Debian machine and
>> unfortunately got no similar errors - any at all. Sorry I can't help.
>> 
>> My config:
>> Debian GNU/Linux 2.6.21.1.070503b x86_32
>> gcc 4.1.3 20070629 (prerelease) (Debian 4.1.2-13)
>> gmake 3.81
>> 
>> Regards,
>> Tomash
>> 
>> # 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_floa
>> t.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_1FD5A
>> 050_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_1FD5A
>> 050_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
>> # # _______________________________________________
>> # Insight-users mailing list
>> # Insight-users at itk.org
>> # http://www.itk.org/mailman/listinfo/insight-users
>> # # # _______________________________________________
>> 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