help with kerberos windows build

Hong Ye hy93 at cornell.edu
Fri May 8 16:13:02 EDT 2009


Hi,

I'm trying to build krb5 1.6 tree on Windows XP. I followed All-Windows 
Build Method from ReadMe file and got error when doing nmake

c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\ntstatus.h(2900) : warning C4005: 
'STATUS_PRIVILEGED_INSTRUCTION' : macro r
edefinition
        c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\WinNT.h(1342) : see previous definition of 
'STATUS_PRIVILEGED_INSTR
UCTION'
c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\ntstatus.h(3853) : warning C4005: 
'STATUS_STACK_OVERFLOW' : macro redefinit
ion
        c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\WinNT.h(1343) : see previous definition of 
'STATUS_STACK_OVERFLOW'
c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\ntstatus.h(4426) : warning C4005: 
'STATUS_CONTROL_C_EXIT' : macro redefinit
ion
        c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\WinNT.h(1344) : see previous definition of 
'STATUS_CONTROL_C_EXIT'
c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\ntstatus.h(6834) : warning C4005: 
'STATUS_FLOAT_MULTIPLE_FAULTS' : macro re
definition
        c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\WinNT.h(1345) : see previous definition of 
'STATUS_FLOAT_MULTIPLE_F
AULTS'
c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\ntstatus.h(6844) : warning C4005: 
'STATUS_FLOAT_MULTIPLE_TRAPS' : macro red
efinition
        c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\WinNT.h(1346) : see previous definition of 
'STATUS_FLOAT_MULTIPLE_T
RAPS'
c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\ntstatus.h(6968) : warning C4005: 
'STATUS_REG_NAT_CONSUMPTION' : macro rede
finition
        c:\Program Files\Microsoft Visual Studio .NET 
2003\Vc7\PlatformSDK\Include\WinNT.h(1347) : see previous definition of 
'STATUS_REG_NAT_CONSUMPT
ION'
cc_mslsa.c(192) : error C2065: 'TokenOrigin' : undeclared identifier
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 
.NET 2003\VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 
.NET 2003\VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 
.NET 2003\VC7\BIN\nmake.exe"' : return code '0x2'
Stop.

Any idea  or suggestions are appreciated,

Hong




More information about the Kerberos mailing list