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 $@
Kristoffer Sjögren wrote:
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].
I don't think you're using LMDB 0.9.16. We didn't release the robust mutex support yet.
Thanks, that was it.
On Wed, Aug 19, 2015 at 3:48 AM, Howard Chu hyc@symas.com wrote:
Kristoffer Sjögren wrote:
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].
I don't think you're using LMDB 0.9.16. We didn't release the robust mutex support yet.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
openldap-technical@openldap.org