[
https://issues.apache.org/jira/browse/THRIFT-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James E. King III resolved THRIFT-4871.
---------------------------------------
Resolution: Not A Problem
Assignee: James E. King III
0.13.0 code uses the std namespace and not boost, unless you specifically ask
for it.
> 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
(v7.6.14#76016)