undefined reference to `boost::test_tools::tt_detail::message_impl and supposed solution

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

undefined reference to `boost::test_tools::tt_detail::message_impl and supposed solution

Stoytcho Stoev
Hi there,

I got this message (and may others of similar sort ) trying to compile $QuantLib_root/test-suite on
uname -a
Linux nano3 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006 i686 i686 i386 GNU/Linux

boost library is installed with the default configs ( ./configure ; make; make install ) in /usr/local/lib
my $LD_LIBRARY_PATH=/usr/local/lib

The problem disappears when I change
BOOST_UNIT_TEST_LIB = boost_unit_test_framework-gcc
in $QuantLib_root/test-suite/Makefile
with
BOOST_UNIT_TEST_LIB = boost_unit_test_framework

Hope this will be in help to someone.

Stoytcho


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
Reply | Threaded
Open this post in threaded view
|

Re: undefined reference to `boost::test_tools::tt_detail::message_impl and supposed solution

Luigi Ballabio
On 04/14/2006 05:36:16 PM, Stoytcho Stoev wrote:
>
>  The problem disappears when I change
>  BOOST_UNIT_TEST_LIB = boost_unit_test_framework-gcc
>  in $QuantLib_root/test-suite/Makefile
>  with
>  BOOST_UNIT_TEST_LIB = boost_unit_test_framework

Strange. For BOOST_UNIT_TEST_LIB to be defined as  
boost_unit_test_framework-gcc, configure must have found and  
successfully linked such a library. Are you sure you don't have  
multiple Boost versions lying around?

Later,
        Luigi


----------------------------------------

Poets have been mysteriously silent on the subject of cheese.
-- Gilbert K. Chesterton