Compilation Problem with Cygwin32 and Windows

kanedaa@freesbee.fr kanedaa@freesbee.fr
Tue Apr 8 13:37:02 2003


Hi

I'm trying to compile GnuPG in Windows with Cygwin32.
I've installed Ming32 (with binutils and Gcc)
And i've Unzipped the gnupg source.

The ./configure command had worked fine
but "make" doesn't want to...
I've got some errors with the G10 directory (the most important for me!! :o( )
here is the text : 

In file included from config.h:393,
                 from g10.c:21:
g10defs.h:24:1: warning: "GNUPG_LIBEXECDIR" redefined
g10.c:1:1: warning: this is the location of the previous definition
In file included from packet.h:24,
                 from g10.c:36:
types.h:59: warning: redefinition of `ushort'
/usr/include/sys/types.h:85: =
warning: `ushort' previously declared here
g10.c: In function `strusage':
g10.c:624: `VERSION' undeclared (first use in this function)
g10.c:624: (Each undeclared identifier is reported only once
g10.c:624: for each function it appears in.)
g10.c: In function `build_list':
g10.c:696: warning: implicit declaration of function `stpcpy'
g10.c:696: warning: assignment makes pointer from integer without a cast
g10.c:700: warning: assignment makes pointer from integer without a cast
g10.c:711: warning: assignment makes pointer from integer without a cast
g10.c:714: warning: assignment makes pointer from integer without a cast
g10.c:717: warning: assignment makes pointer from integer without a cast
g10.c:722: warning: assignment makes pointer from integer without a cast
g10.c:727: warning: assignment makes pointer from integer without a cast
g10.c: In function `main':
g10.c:1185: `R_OK' undeclared (first use in this function)
g10.c:2524: warning: implicit declaration of function `isatty'
make[2]: *** [g10.o] Error 1
make[2]: Leaving directory `/home/Sebastien/Gnupg/g10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Sebastien/Gnupg'
make: *** [all] Error 2

For example, i've been searching for the R_OK var and didn't find its definition anywhere!!!
Is there someone who can help me??

Thx
Kanedaa

************ VITE, C'EST LE MOMENT DE VOUS ABONNER A L'ADSL !!! **********
Du 3 avril au 5 mai, série limitée ADSL 128K, cliquez vite ici : http://register.tiscali.fr/adsl/ 
Offre promotionnelle soumise à conditions, réservée aux nouveaux abonnés ADSL Tiscali.