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

Werner Koch wk at gnupg.org
Tue Jan 28 19:25:35 CET 2014


On Tue, 28 Jan 2014 18:37, hans at guardianproject.info said:

> make[3]: [gpg-error.h] Error 1 (ignored)
> ./mkheader linux-androideabi arm-unknown-linux-androideabi  ./gpg-error.h.in \
>                    1.13-beta19 0x010d00 >gpg-error.h
> ./gpg-error.h.in:289: error including
> `./syscfg/lock-obj-pub.linux-androideabi.h': No such file or directory

Please apply this patch:

diff --git a/src/mkheader.c b/src/mkheader.c
index 43e7fd8..ae29213 100644
--- a/src/mkheader.c
+++ b/src/mkheader.c
@@ -165,6 +165,7 @@ mk_include_name (const char *name, const char *repl)
         *p++ = *s;
     }
   *p = 0;
+  fprintf (stderr,"note: incname is '%s'\n", incfname);
   return incfname;
 }
 

and try again.   According to your log mkheader is run correctly and
thus should first try to include the new file.  With the pacth we can
better control that.

You did re-built libgpg-error from scratch, right?


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list