[ https://issues.apache.org/jira/browse/THRIFT-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer closed THRIFT-4871. ------------------------------ > 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 > Assignee: James E. King III > Priority: Trivial > Fix For: 0.13.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 (v8.3.4#803005)