Can't build on Win32

Eddie Roosenmaallen eroosenmaallen at cogeco.ca
Wed May 28 18:27:03 CEST 2003


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

Hi David,

Works a bit better, but still bails in keyserver/. Here's the output for
that dir:

> Making all in keyserver
> make[2]: Entering directory `/c/projects/gnupg-1.3.2/keyserver'
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl    -g -O2 -Wall
- -MT gpgkeys_hkp.o -MD -MP -MF ".deps/gpgkeys_hkp.Tpo" \
>   -c -o gpgkeys_hkp.o `test -f 'gpgkeys_hkp.c' || echo './'`gpgkeys_hkp.c; \
> then mv -f ".deps/gpgkeys_hkp.Tpo" ".deps/gpgkeys_hkp.Po"; \
> else rm -f ".deps/gpgkeys_hkp.Tpo"; exit 1; \
> fi
> gpgkeys_hkp.c: In function `main':
> gpgkeys_hkp.c:751: warning: implicit declaration of function `getopt'
> gpgkeys_hkp.c:766: `optarg' undeclared (first use in this function)
> gpgkeys_hkp.c:766: (Each undeclared identifier is reported only once
> gpgkeys_hkp.c:766: for each function it appears in.)
> gpgkeys_hkp.c:777: `optind' undeclared (first use in this function)
> make[2]: *** [gpgkeys_hkp.o] Error 1
> make[2]: Leaving directory `/c/projects/gnupg-1.3.2/keyserver'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/c/projects/gnupg-1.3.2'
> make: *** [all] Error 2

Closer and closer... (Windows is such a pain in the backside)

Looks like it's getopt, optarg and optind giving me grief - are they *nix
standard, or have I broken something in MinGW?

BTW- In case the version of MinGW is important, here's uname -a:
$ uname -a
MINGW32_98-4.10 EDDIESLAPTOP 1.0.8(0.46/3/2) 2002-12-09 07:58 i686 unknown

Peace,
  Eddie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+1NVltGGqbMwazQURAsbmAKCjSwXELDOimwA9hm0sS5vNTuxF3QCfULWj
ZXLW0vnHZog6W8y5nzC7qcU=
=hqPt
-----END PGP SIGNATURE-----





More information about the Gnupg-devel mailing list