Subject: Re: [Boost-build] compilation failed with error due to boost thread library
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2017-03-11 08:23:03
Le 08/03/2017 à 19:43, Jack Kumba via Boost-build a écrit :
> the compilation of my library failed with the following error:
> make: *** Waiting for unfinished jobs....
> undefined reference to symbol
> /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0: error adding
> symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> What do you think can be the source of error? It used to compile well
Could you check if BOOST_THREAD_ONCE_ATOMIC is defined on your environment?
I wonder that you are linking with a thread library that was built with
BOOST_THREAD_ONCE_ATOMIC undefined and your application see it defined.
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