android build failure: `./syscfg/lock-obj-pub.linux-androideabi.h': No such file or directory

Hans-Christoph Steiner hans at
Fri Jan 24 23:11:40 CET 2014

On 01/24/2014 04:02 PM, Werner Koch wrote:
> On Fri, 24 Jan 2014 18:55, hans at said:
>> ./ error including
>> `./syscfg/lock-obj-pub.linux-androideabi.h': No such file or directory
> This is expected.  From README.
>   Cross-Compiling
>   ---------------
>   Libgpg-error needs to figure out some platform specific properties.
>   These are used to build the platform specific gpg-error.h file.  The
>   detection is done during build time but can't be done when
>   cross-compiling.  Thus if you run into an error during building you
>   need to figure out these values.  You may use these commands:
>     build="$(build-aux/config.guess)"
>     ./configure --prefix=TARGETDIR --host=TARGET --build=$build
>     cd src
>     make gen-posix-lock-obj
>     scp gen-posix-lock-obj TARGET:
>     ssh TARGET ./gen-posix-lock-obj >tmp.h
>     mv tmp.h "syscfg/$(awk 'NR==1 {print $2}' tmp.h)"
>   If you are using a VPATH build adjust accordingly.  If this all works
>   for you (make sure to run the test programs on the target platform),
>   please send the generated file to the gnupg-devel mailing list so that
>   we can include it in the next release.
> The file would be very welcome.

I ran that procedure, but it produced a different file name than the error at
the beginning of this thread.  The file is attached.


PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lock-obj.arm-unknown-linux-androideabi.h
Type: text/x-chdr
Size: 392 bytes
Desc: not available
URL: </pipermail/attachments/20140124/792b3080/attachment-0001.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 969 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20140124/792b3080/attachment-0001.sig>

More information about the Gnupg-devel mailing list