Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9082: Android build error " 'pthread_rwlock_t' does not name a type"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-08 11:28:29
#9082: Android build error " 'pthread_rwlock_t' does not name a type"
-------------------------------+---------------------
Reporter: anonymous | Owner: andysem
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: log
Version: Boost 1.54.0 | Severity: Problem
Resolution: wontfix | Keywords:
-------------------------------+---------------------
Changes (by andysem):
* status: new => closed
* resolution: => wontfix
Comment:
Read/write locks are defined by POSIX and as far as I can see, are
supported by NDK r8e since API version android-9. I have no experience
with Android development, but it seems you have to specify the correct
APP_PLATFORM value somewhere in your project.
[http://stackoverflow.com/questions/14551113/android-ndk-multiple-api-
levels This] may be of help.
For building Boost itself you should correct your CXXFLAGS to contain the
include path to /platforms/android-9/arch-arm/usr/include or
/platforms/android-14/arch-arm/usr/include.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9082#comment:1> 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:14 UTC