Compiling libgpg-error for Android

Leo Goldim goldim at gmail.com
Thu Dec 22 23:46:28 CET 2016


Hi all,

I'm using ndk standalone toolchain to compile libgpg-error (to use for
compile gpgme), I'm using libgpg-error version 1.26.

My configure (./configure
--prefix=/home/ec2-user/gpgme/libgpg-error-1.26-arm
--host=arm-linux-android) runs ok, but I get the following error during
make:

cc -g -O0 -I. -I. -o mkheader ./mkheader.c
if test -f lock-obj-pub.native.h; then rm lock-obj-pub.native.h; fi
./mkheader linux-android arm-unknown-linux-android  ./gpg-error.h.in \
                   ../config.h 1.26 0x011a00 >gpg-error.h
./gpg-error.h.in:435: error including
`./syscfg/lock-obj-pub.linux-android.h': No such file or directory
make[2]: *** [gpg-error.h] Error 1
make[2]: Leaving directory `/home/ec2-user/gpgme/libgpg-error-1.26/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ec2-user/gpgme/libgpg-error-1.26'
make: *** [all] Error 2

Someone already did it? Or have any suggestions on how to compile gpgme for
Android?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20161222/2c6a5fb5/attachment.html>


More information about the Gnupg-devel mailing list