|
Boost : |
From: Christoph Ludwig (cludwig_at_[hidden])
Date: 2004-07-16 14:18:17
On Fri, Jul 16, 2004 at 08:34:30PM +0200, Martin Wille wrote:
[...]
> While tests are running, I'm seeing link errors
> for Boost.Serialization:
> /boost/head-regression/boost/boost/test/test_tools.hpp:179: undefined
> reference to `pthread_mutex_destroy'
>
> I think my installation of libstdc++ requires
> -pthread on the commandline. Is this a Boost.Build
> problem, a Boost.Serialization problem or do I just
> have to add some options to my toolset definition
> for gcc-3.4.1?
Maybe you encountered the problem discussed in the thread that started
with http://tinyurl.com/454e5 ? Bottom line, if you don't call gcc
with -pthread then you need to explicitly define
BOOST_DISABLE_THREADS.
Regards
Christoph
-- http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk