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

0.9.16 build problems for android



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 $@