Problems compling on W2k

Mike Feldmeier mike.feldmeier at wamu.net
Thu Oct 30 20:14:28 CET 2003


Hi,

I am attempting to compile libgcrypt 1.1.42 on Windows 2000 with the 
following components:

MSYS 1.0.10-rc2
MinGW 3.1.0-1
gcc-core 3.3.1
binutils 2.14.90

I have compiled and installed successfully the prerequisite libgpg-
error 0.5 library, but am coming across errors in the libgcrypt make 
process itself:

make  all-recursive
make[1]: Entering directory `/home/Administrator/work/libgcrypt-1.1.42'
Making all in mpi
make[2]: Entering directory `/home/Administrator/work/libgcrypt-
1.1.42/mpi'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Administrator/work/libgcrypt-
1.1.42/mpi'
Making all in cipher
make[2]: Entering directory `/home/Administrator/work/libgcrypt-
1.1.42/cipher'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -
I../src  
  -c -o rndw32.lo `test -f 'rndw32.c' || echo './'`rndw32.c; \
then mv -f ".deps/rndw32.Tpo" ".deps/rndw32.Plo"; \
else rm -f ".deps/rndw32.Tpo"; exit 1; \
fi
rm -f .libs/rndw32.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/local/include -g -O2 -
Wall -MT 
In file included from rndw32.c:58:
../src/types.h:46: warning: redefinition of `byte'
c:/mingw/include/rpcndr.h:50: warning: `byte' previously declared here
rndw32.c: In function `slow_gatherer_windowsNT':
rndw32.c:602: `DISK_PERFORMANCE' undeclared (first use in this function)
rndw32.c:602: (Each undeclared identifier is reported only once
rndw32.c:602: for each function it appears in.)
rndw32.c:602: parse error before "diskPerformance"
rndw32.c:615: `diskPerformance' undeclared (first use in this function)
../src/gcrypt.h: At top level:
rndw32.c:716: warning: `gather_random' defined but not used
rndw32.c:766: warning: `gather_random_fast' defined but not used
make[2]: *** [rndw32.lo] Error 1
make[2]: Leaving directory `/home/Administrator/work/libgcrypt-
1.1.42/cipher'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/work/libgcrypt-1.1.42'
make: *** [all] Error 2

I must be configuring something wrong.. I would appreciate any insight.

Thanks,
Mike



More information about the Gcrypt-devel mailing list