Problem in Compiling MIT Krb 1.11.2 on 64 bit Windows Env

Benjamin Kaduk kaduk at MIT.EDU
Thu Jun 20 10:40:16 EDT 2013


On Thu, 20 Jun 2013, Mohit Aggrawal wrote:

> Hello All,
>
> I am building MIT Krb 1.11.2 on 64 bit Windows Env using Visual Studio 2010.
> i.e.
> \krb5-1.11.2\src>nmake NODEBUG=1 CPU=AMD64
>
> I am getting the compilation error as
>
> c:\ker3\krb5-1.11.2-signed\krb5-1.11.2\krb5-1.11.2\src\include\win-mac.h(42)
> : f
> atal error C1189: #error :  time_t has been defined as a 64-bit integer
> which is
> incompatible with Kerberos on this platform.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 10.0
> \VC\BIN\cl.EXE"' : return code '0x2'
>
> Please let me know if MIT Krb 1.11.2 is supported on 64 Bit Windows
> platform.
> if it is supported then what option we need to give so that time_t is taken
> as 32 bit integer ??

Did you run setenv /x64 ?  (Which version of the Windows SDK are you 
using?)

I am pretty sure the time_t error is due to that mismatch.

-Ben Kaduk


More information about the krbdev mailing list