[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
0.9.16 build problems for android
- To: openldap-technical@openldap.org
- Subject: 0.9.16 build problems for android
- From: Kristoffer Sjögren <stoffe@gmail.com>
- Date: Tue, 18 Aug 2015 23:44:41 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bi0eCvkLBdF5odmbT0Hwxh2Eu05kYeadUOfw7S/SSGI=; b=icVwCpRGOIK48i2SkFap1dJ8H6EeGUKzmCfUxnGTKxQOqMNT/oXKl2uTD9gvbwTOAg M3c97uV95q2bBJTesJ1TE8RxPyligfNV/CkcrxiojsLee7iCA2jC6+nnvi4xBrg0SgaE pVk88guCa5mkI8cVa+YMqZigANdwqznBfiODCwUH/Mj7ybJWxdyAbwtkNwpOsD8cBrva FjdaMkeGq24lSVduGW5OA2voxr7Ae/b+ujUat3ikgFangmIkPyg9JAib/xz2HOBe2q9d /EkLeo1eL+7FxYdeQ7bvxUv/2pOZOE8voLdhyAQHSjTQlUXF33Z2cGfk6XA/htsyOmn4 p62w==
Hi
This is a long shot.
Just upgraded LMDB to 0.9.16 for lmdbjni (Java bindings for LMDB) and
when building for android-ndk-r10e I get a build error complaing about
undeclared PTHREAD_MUTEX_ROBUST [1].
The build procedure uses automake and is quite complex because of Java
JNI bindings but maybe the build error/output rings a bell anyway?
The build works fine with LMDB 0.9.15.
Cheers,
-Kristoffer
[1] src/mdb.c:4636:49: error: 'PTHREAD_MUTEX_ROBUST' undeclared (first
use in this function)
[2] Full build output - http://pastebin.com/JwreP0dZ
[3] agcc
#!/bin/bash
$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
--sysroot=$NDK/platforms/android-19/arch-arm -DMDB_DSYNC=O_SYNC $@