Boost logo

Boost Users :

Subject: Re: [Boost-users] Linking problem - boost 1.51
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-10-07 10:55:01


Le 07/10/12 00:29, Daniel Santos a écrit :
> Dear list,
>
> I'm starting with boost (Boost.Asio) and I'm following the tutorial
> available at Boost.Asio web-page.
> I'm stuck at part 5 (Timer.5) because I'm getting the following linker
> error:
>
> /timer_5.cpp:(.text+0xb3): undefined reference to
> `boost::thread::~thread()'/
> /timer_5.cpp:(.text+0xe1): undefined reference to
> `boost::thread::~thread()'/
> /collect2: error: ld returned 1 exit status/
>
> I'm linking boost_system, boost_thread and pthread (I compiled the
> boost libraries and at some point I thought that I was including .hpp
> files from a different version of the libraries but I specified the
> paths of both .hpp and libraries and the problem remains).
> The system runs GNU/Linux 64bits (Fedora 17) with GCC 4.7.2 and boost
> 1.51.0.
>
> Any idea?
>
>
Please, could you post the exact command line giving these errors?

Best,
Vicente



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