[Date Prev][Date Next] [Chronological] [Thread] [Top]

0.9.16 build problems for android


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.


[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
--sysroot=$NDK/platforms/android-19/arch-arm -DMDB_DSYNC=O_SYNC $@