Daniel Haensse created THRIFT-4871:
--------------------------------------
Summary: unresolved boost::mutex::scoped_lock dependencies on armhf
Key: THRIFT-4871
URL: https://issues.apache.org/jira/browse/THRIFT-4871
Project: Thrift
Issue Type: Bug
Components: C++ - Library
Affects Versions: 0.12.0
Reporter: Daniel Haensse
Fix For: 0.12.0
It seems like on certain platforms that for the boost::mutex::scoped_lock is
not included in the boost lib and that libboost_atomic must be included as well
(boost 1.62).
I tried to compile thrift on the current Raspian distro and it did not work
without the LIBS=-lboost_atomic parameter, see below.
{{{color:#000000}_*$ export CXXFLAGS="-DFORCE_BOOST_SMART_PTR
-DFORCE_BOOST_FUNCTIONAL"*_{color}}}
{{{color:#000000}_*$ ./bootstrap.sh*_{color}}}{{{color:#000000}_*$ ./configure
-ls-without-java LIBS=-lboost_atomic*_{color}}}
{{{color:#000000}_*$ make -j3 VERBOSE=1*_{color}}}
{{{color:#000000}_*$ make install*_{color}}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)