Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost-users][unit-test-framework] Problem linking tests.
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-07-01 03:29:32


Germán Diago <germandiago <at> gmail.com> writes:

>
> Hello all. I'm having a hard time trying to link a binary against
> libbost_unit_test_framework.
>
> I was developing some software in my laptop. This laptop has installed
> boost libraries from the repositories (it's boost-1.40 ubuntu 10.04).
>
> I had to pass this code to another computer, which hadn't boost
> installed, so I copied what I had in ubuntu from the repositories into
> my project, headers
> included. My project uses boost_system and boost_thread as well. Both
> machines are 64 bit machines with intel. But when compiling, I get
> this:
>
> td::char_traits<char> >::_M_extract<unsigned long>(unsigned
> long&)@GLIBCXX_3.4.9'

Looks like you've got different glibc versions. I suggect you try single header
version of boost test and avoid linking altogether.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net