Compiling kadmin under Windows XP

McConnell, Barry barry.mcconnell at gs.com
Thu Jan 13 18:11:36 EST 2005


Hi,

I am trying to get kadmin.c (or rather, a derivative thereof) working under
Windows.  I am using XP Pro, MS Visual C++, and the Feb 2003 SDK.

There is a note in Windows/README about gssrpc not being compatible with
this environment.  I am getting compilation errors such as these:

C:\Temp\krb5-1.3.6\src\lib\gssrpc/xdr.h(121) : error C2081: 'caddr_t' : name
informal parameter list illegal
C:\Temp\krb5-1.3.6\src\lib\gssrpc/xdr.h(124) : error C2081: 'caddr_t' : name
informal parameter list illegal
C:\Temp\krb5-1.3.6\src\lib\gssrpc/xdr.h(138) : error C2061: syntax error :
identifier 'caddr_t'
C:\Temp\krb5-1.3.6\src\lib\gssrpc/xdr.h(140) : error C2061: syntax error :
identifier 'x_base'
C:\Temp\krb5-1.3.6\src\lib\gssrpc/xdr.h(140) : error C2059: syntax error :
';'
C:\Temp\krb5-1.3.6\src\lib\gssrpc/xdr.h(142) : error C2059: syntax error :
'}'
C:\Temp\krb5-1.3.6\src\lib\gssrpc/xdr.h(267) : error C2143: syntax error :
missing ')' before '*'
C:\Temp\krb5-1.3.6\src\lib\gssrpc/xdr.h(267) : error C2143: syntax error :
missing '{' before '*'

If you already have a workaround for this, I would be grateful if you could
point me in the right direction.

I am using the header files that were auto-updated by the Windows makefile
config script, although some of them (netinet/in.h, sys/param.h, sys/time.h)
don't have equivalents under Windows so I created empty files in their
place.

Thanks for any advice.

Regards,

Barry.



More information about the krbdev mailing list