krb5-1.3.1 make fail on cygwin

King Lung Chiu csklc at farrer.hpc.csiro.au
Thu Jan 29 00:47:06 EST 2004


Hi,

I'm trying to build krb5-1.3.1 on cygwin:

 $ ../src/configure --disable-dns --without-krb4 \
   --prefix=/usr/local/krb5-1.3.1 CC=gcc
 $ make

But make fails and I get the following errors:

 [...cut]
 make[3]: Entering directory 
 `/dist/mitkrb/krb5-1.3.1/cygwin-3/util/db2/hash'
 gcc -DHAVE_CONFIG_H  -I../../../include 
 -I../../../../src/util/db2/hash/../../../include -I../../../include/krb5 
 -I../../../../src/util/db2/hash/../../../include/krb5 -I. 
 -I../../../../src/util/db2/hash/../include -I../include 
 -I../../../../src/util/db2/hash/../mpool 
 -I../../../../src/util/db2/hash/../db  -g -O2 -Wall -Wmissing-prototypes 
 -Wcast-qual  -Wcast-align -Wconversion -Wshadow -Wno-comment -pedantic -c 
 ../../../../src/util/db2/hash/hash.c
 ../../../../src/util/db2/hash/hash.c: In function `__kdb2_hash_open':
 ../../../../src/util/db2/hash/hash.c:101: error: argument `flags' doesn't 
 match prototype
 ../../../../src/util/db2/include/db-int.h:140: error: prototype 
 declaration
 ../../../../src/util/db2/hash/hash.c:101: error: argument `mode' doesn't 
 match prototype
 ../../../../src/util/db2/include/db-int.h:140: error: prototype 
 declaration
 ../../../../src/util/db2/hash/hash.c:101: error: argument `dflags' 
 doesn't match prototype
 ../../../../src/util/db2/include/db-int.h:140: error: prototype 
 declaration
 [...cut]
 make[3]: *** [hash.o] Error 1
 make[3]: Leaving directory 
 `/dist/mitkrb/krb5-1.3.1/cygwin-3/util/db2/hash'
 make[2]: *** [all-recurse] Error 1
 make[2]: Leaving directory `/dist/mitkrb/krb5-1.3.1/cygwin-3/util/db2'
 make[1]: *** [all-recurse] Error 1
 make[1]: Leaving directory `/dist/mitkrb/krb5-1.3.1/cygwin-3/util'
 make: *** [all-recurse] Error 1

Any ideas?

cheers

King



More information about the Kerberos mailing list