Le 08/03/2017 à 19:43, Jack Kumba via Boost-build a écrit :
Hello,
the compilation of my library failed with the following error:
make[1]: *** Waiting for unfinished jobs.... /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libboost_coroutine.a(stack_traits.o): undefined reference to symbol '_ZN5boost13thread_detail18commit_once_regionERNS_9once_flagE' /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 before...
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. Best, Vicente