[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-build
Subject: Re: [Boost-build] compilation failed with error due to boost thread library
From: "Vicente J. Botet Escriba via Boost-build" <boost-build () lists ! boost ! org>
Date: 2017-03-11 8:23:03
Message-ID: 637940eb-8fac-8528-0a80-e929740652c6 () wanadoo ! fr
[Download RAW message or body]
Le 08/03/2017 =E0 19:43, Jack Kumba via Boost-build a =E9crit :
> 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_corout=
ine.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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/bo=
ost-build
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic