[krbdev.mit.edu #2952] Please help with building of KRB5 on Windows XP machine
Davy Crockett via RT
rt-comment at krbdev.mit.edu
Fri Mar 4 15:51:27 EST 2005
Hello. I am trying to build KRB5 on a Windows XP machine with the latest
Microsoft SDK installed, Microsoft C++ 6.0,
and the sed, gawk (renamed to awk), cat, and cp gnu UNIX utilities.
However, I keep getting compile errors.
First, I executed the following commands successfully:
Vcvars32.bat
Setenv /2000 /DEBUG
Nmake -f Makefile.in prep-windows
However, when I run the nmake command as the next step, I get the following
errors:
Making in util
cd util
NMAKE -
Making in util\windows
cd windows
NMAKE -
Making in util\et
cd ..\et
NMAKE -
Making in util\profile
cd ..\profile
NMAKE -
cd ..
Making in include
cd ..\include
NMAKE -
Making in include\krb5
cd krb5
NMAKE -
cd ..
Making in lib
cd ..\lib
NMAKE -
Making in lib\crypto
cd crypto
NMAKE -
cd crc32
Making in crypto\crc32
NMAKE -
cl -I.\..\..\..\include -I.\..\..\..\include\krb5
-DKRB5_PRIVATE=1 -DWIN32_LEAN_AND_MEAN -DKRB5_DEPRECATED=1 /Od /ZI /MDd
-nologo /W3 -Fdobj\i386\dbg\\ -FD -Foobj\i386\dbg\\ -c ...
crc32.c
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(516) : error C2143: syntax
error : missing ')' before '*'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(516) : error C2081:
'socklen_t' : name in formal parameter list illegal
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(516) : error C2143: syntax
error : missing '{' before '*'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(516) : error C2059: syntax
error : ')'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(516) : error C2059: syntax
error : ';'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1700) : error C2143: syntax
error : missing ')' before '*'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1700) : error C2081:
'socklen_t' : name in formal parameter list illegal
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1700) : error C2143: syntax
error : missing ';' before '*'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1700) : error C2059: syntax
error : '*'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1700) : error C2059: syntax
error : ')'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1720) : error C2372:
'krb5_ser_pack_int64' : redefinition; different types of indirection
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1597) : see
declaration of 'krb5_ser_pack_int64'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1722) : error C2372:
'krb5_ser_unpack_int64' : redefinition; different types of indirection
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1599) : see
declaration of 'krb5_ser_unpack_int64'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1723) : error C2059: syntax
error : '}'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1730) : error C2143: syntax
error : missing ')' before '*'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1730) : error C2143: syntax
error : missing '{' before '*'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1730) : error C2059: syntax
error : ','
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1730) : error C2059: syntax
error : ')'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1753) : error C2143: syntax
error : missing ')' before '*'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1753) : error C2081:
'socklen_t' : name in formal parameter list illegal
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1753) : error C2143: syntax
error : missing '{' before '*'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1753) : error C2059: syntax
error : ')'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1753) : error C2059: syntax
error : ';'
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1888) : error C2372:
'krb5int_c_mandatory_cksumtype' : redefinition; different types of
indirection
c:\kfw\src\athena\auth\krb5\src\include\k5-int.h(1717) : see
declaration of 'krb5int_c_mandatory_cksumtype'
This is followed by nmake returning an error code similar to '0x2'.
Any help would be greatly appreciated. I really need a Kerberos Server to
run off of a windows xp machine to increase security of an ftp server that
supports gss. Thanks.
Davy Southern Boy
John 3:16
For God So Loved the World,
He gave his only begotten son.
So, that whosoever believes in him
Should not perish, but have everlasting life.
More information about the krb5-bugs
mailing list