1.3.1 cross compile error

David Shaw dshaw@jabberwocky.com
Sun Mar 23 01:04:02 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Mar 22, 2003 at 05:06:26PM +0900, venona@gmx.ch wrote:
> gpgkeys_hkp.c:21: config.h: No such file or directory
> gpgkeys_hkp.c:29: util.h: No such file or directory
> gpgkeys_hkp.c:30: http.h: No such file or directory
> gpgkeys_hkp.c:31: keyserver.h: No such file or directory
> make[2]: *** [gpgkeys_hkp] Error 1
> 
> Then I copied util.h, http.h and keyserver.h from "include" directory
> in "gnupg-1.3.1" dir to "keyserver" dir, copied config.h from
> "gnupg-1.3.1" dir to both "include" and "keyserver" dir, and did
> "make" again.
> 
> At this time I encountered the following error:
> 
> gpgkeys_hkp.c:21: config.h: No such file or directory
> In file included from gpgkeys_hkp.c:29:
> util.h:27: types.h: No such file or directory
> util.h:28: errors.h: No such file or directory
> util.h:29: types.h: No such file or directory
> util.h:30: mpi.h: No such file or directory
> In file included from gpgkeys_hkp.c:30:
> http.h:23: iobuf.h: No such file or directory
> make[2]: *** [gpgkeys_hkp] Error 1
> 
> Then I copied types.h, errors.h and iobuf.h from "include" dir to
> "keyserver" dir, and did "make".
> 
> At this time the error was as follows:
> 
> gpgkeys_hkp.c:21: config.h: No such file or directory
> In file included from util.h:30,
>                  from gpgkeys_hkp.c:29:
> mpi.h:33: config.h: No such file or directory
> make[2]: *** [gpgkeys_hkp] Error 1
> 
> I set the following options in autogen.sh: disable-regex,
> with-included-zlib, enable-m-guard and enable-old-tiger.
> 
> May anyone tell me how to avoid the error?

It sounds like your -I include paths are not pointing where they need
to point.  Autoconf sets these automatically, so I'm not sure why it
isn't working for you.  Perhaps something with the cross-compilation
system?

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2rc1 (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc

iD8DBQE+fPn64mZch0nhy8kRAoerAJ4ryX7nFwbqpDWu631F0g7F38pLoACggsy9
Ikms2O8ceh80GXRJQJsxtA8=
=wvBZ
-----END PGP SIGNATURE-----