Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9657: Boost Log V2 Library Android Linking
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-13 09:24:23
#9657: Boost Log V2 Library Android Linking
-------------------------------+----------------------------
Reporter: Guven <guveni@â¦> | Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: Log NDK 9C
-------------------------------+----------------------------
Comment (by Guven <guveni@â¦>):
it seems that the problem is caused because of the static library linking
The problem is that it looks for symbols like this:
{{{
boost::log::v2_mt_posix::core::set_filter
}}}
But instead the library has symbols:
{{{
boost::log::v2s_mt_posix::core::set_filter
}}}
if #define BOOST_ALL_DYN_LINK is removed and APP_STL is changed in
Application.mk from gnustl_static to gnustl_shared. Then the problem goes
away. But it should not be in this way.
Note that it only applies if library is build as below
{{{
./build-android.sh --boost=1.55.0 --with-
libraries=date_time,filesystem,program_options,regex,signals,system,thread,iostreams,random,log,serialization,graph
$PATH_TO_NDK
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9657#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC