Boost logo

Boost Users :

Subject: [Boost-users] thread: linux fedora .so built file under c++98 does not provide start_thread() symbol
From: MM (finjulhich_at_[hidden])
Date: 2013-10-18 14:50:10


I am compiling my code with g++4.8.1 under c++11 mode, however the fedora's
system provided boost thread lib has been compiled under c++98.

Linking fails because of errors like:

mainthread.cpp:(.text+0x2cf): undefined reference to
mainthread.cpp:(.text+0xcc9): undefined reference to `boost::thread::join()'

looking at the provided shared object,
nm -C -D /usr/lib64/ |grep start_thread

000000000000ba80 T
boost::thread::start_thread_noexcept(boost::thread_attributes const&)
000000000000ba00 T boost::thread::start_thread_noexcept()

neither of which is start_thread()

I've put an entry here

Is there a possible workaround?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at