Can't build on Win32

David Shaw dshaw at jabberwocky.com
Wed May 28 15:43:03 CEST 2003


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

On Wed, May 28, 2003 at 07:41:38PM +0800, Colin Brown wrote:
> I am getting the following error messages when I try to build for win32,
> I have no problem building from 1.2.0 - 1.2.2.
> But when I build for 1.3.2 this is what I get.
> 
> 
> 
> c:/mingw/include/rpcndr.h:50: warning: `byte' previously declared here
> In file included from http.c:46:
> srv.h:24:24: netinet/in.h: No such file or directory
> srv.h:25:26: arpa/nameser.h: No such file or directory
> srv.h:26:20: resolv.h: No such file or directory
> make[2]: *** [http.o] Error 1
> make[2]: Leaving directory `/home/colin/gnupg-1.3.2/util'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/colin/gnupg-1.3.2'
> make: *** [all] Error 2

Hmm.  What happens if you delete these lines from srv.h and srv.c:

#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>

.. and replace them with "#include <windows.h>" ?

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

iD8DBQE+1K7p4mZch0nhy8kRArZ2AKDghqbbx30kEVLWlsXWMVw496gVhgCePFsT
hvpaCdA1mLPHWHQPSKOQxfQ=
=cRK6
-----END PGP SIGNATURE-----




More information about the Gnupg-devel mailing list