[eigen] Re: linking error in mpreal test

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Fixed. Needed to link explicitly to GMP library. It seems that linking
is no longer "transitive" as it used to be:
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

Benoit

2010/9/27 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> I'm getting this:
>
> Linking CXX executable mpreal_support
> /usr/bin/ld: CMakeFiles/mpreal_support.dir/mpreal_support.cpp.o:
> undefined reference to symbol '__gmpf_get_prec'
> /usr/bin/ld: note: '__gmpf_get_prec' is defined in DSO
> /usr/lib64/libgmp.so.3 so try adding it to the linker command line
> /usr/lib64/libgmp.so.3: could not read symbols: Invalid operation
>
> If you added this test, can you fix this?
>
> Benoit
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/