Subject: Re: [Boost-build] sync_access_test: Compiler threading support is not turned on
From: Juan Antonio Zaratiegui Vallecillo, a.k.a. Zara (zara_at_[hidden])
Date: 2008-12-24 03:50:06
Gennadiy Rozental escribió:
> Can anyone help me figure out what needs to be done to resolve
> regressions with sync_access_test.
> Several testers report "Compiler threading support is not turned on".
> What needs to be changed: my Jamfile of toolset? These include
> * all HPUX testers,
> * Sandia-Linux-sun / sun-5.9
> * Sandia-sun-gcc / gcc-3.4.6
> Sandia-intel-10.0 / intel-linux-10.0
> In function `boost::detail::(anonymous
> ../libs/thread/src/pthread/thread.cpp:102: undefined reference to
> ... more like this
> What the deal here?
you must add the option -lpthread to gcc, so as to link posix thread library
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk