Building MIT kerberos library for windows..

Prashant Gupta prashant1803 at gmail.com
Fri Apr 23 02:02:49 EDT 2010


Hi,

I am able to build the MIT kerberos library on windows without any problem.
But I am facing the problem when I was trying to build the library with the
flag NOIOSTUFF enabled. The usage of this flag is to enable the replay cache
on per process basis.

I am getting the following errors.

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        cd ..\rcache
Making in krb5\rcache
        nmake -

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl    -I.\..\..\..\include -I.\..\..\..\include\krb5
-IC:\MIT\kfw-3-2-2-src\kfw-3-2-2-final\pismere/athena/wshelper/include
-DWSHELPER=1 -DKRB5_DNS_LOOKUP=1 -DKRB5_PRIVATE=1 -DWIN32_LEAN_AND_MEAN
-DKRB5_DEPRECATED=1 -D_CRT_SECURE_NO_DEPRECATE  -D_USE_32BIT_TIME_T /Os /MD
-nologo /W3 -Fdobj\i386\rel\\ -FD  -Foobj\i386\rel\\ -c ...
rc_dfl.c
rc_dfl.c(201) : warning C4101: 'retval' : unreferenced local variable
rc_dfl.c(354) : error C2039: 'd' : is not a member of 'dfl_data'
        rc_dfl.c(107) : see declaration of 'dfl_data'
rc_dfl.c(355) : warning C4022: 'krb5_rc_io_read' : pointer mismatch for
actual parameter 3
rc_dfl.c(355) : error C2198: 'krb5_rc_io_read' : too few arguments for call
through pointer-to-function
rc_dfl.c(367) : error C2039: 'd' : is not a member of 'dfl_data'
        rc_dfl.c(107) : see declaration of 'dfl_data'
rc_dfl.c(367) : warning C4022: 'krb5_rc_io_read' : pointer mismatch for
actual parameter 3
rc_dfl.c(367) : error C2198: 'krb5_rc_io_read' : too few arguments for call
through pointer-to-function
rc_dfl.c(371) : error C2039: 'd' : is not a member of 'dfl_data'
        rc_dfl.c(107) : see declaration of 'dfl_data'
rc_dfl.c(372) : warning C4022: 'krb5_rc_io_read' : pointer mismatch for
actual parameter 3
rc_dfl.c(372) : error C2198: 'krb5_rc_io_read' : too few arguments for call
through pointer-to-function
rc_dfl.c(388) : error C2039: 'd' : is not a member of 'dfl_data'
        rc_dfl.c(107) : see declaration of 'dfl_data'
rc_dfl.c(388) : warning C4022: 'krb5_rc_io_read' : pointer mismatch for
actual parameter 3
rc_dfl.c(388) : error C2198: 'krb5_rc_io_read' : too few arguments for call
through pointer-to-function
rc_dfl.c(392) : error C2039: 'd' : is not a member of 'dfl_data'
        rc_dfl.c(107) : see declaration of 'dfl_data'
rc_dfl.c(393) : warning C4022: 'krb5_rc_io_read' : pointer mismatch for
actual parameter 3
rc_dfl.c(393) : error C2198: 'krb5_rc_io_read' : too few arguments for call
through pointer-to-function
rc_dfl.c(397) : error C2039: 'd' : is not a member of 'dfl_data'
        rc_dfl.c(107) : see declaration of 'dfl_data'
rc_dfl.c(398) : warning C4022: 'krb5_rc_io_read' : pointer mismatch for
actual parameter 3
rc_dfl.c(398) : error C2198: 'krb5_rc_io_read' : too few arguments for call
through pointer-to-function
rc_dfl.c(555) : error C2039: 'd' : is not a member of 'dfl_data'
        rc_dfl.c(107) : see declaration of 'dfl_data'
rc_dfl.c(555) : warning C4133: 'function' : incompatible types - from 'char
*' to 'krb5_rc_iostuff *'
rc_dfl.c(555) : warning C4022: 'krb5_rc_io_write' : pointer mismatch for
actual parameter 3
rc_dfl.c(555) : error C2198: 'krb5_rc_io_write' : too few arguments for call
through pointer-to-function
rc_dfl.c(627) : error C2059: syntax error : 'type'
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.

C:\MIT\kfw-3-2-2-src\kfw-3-2-2-final\pismere\athena\auth\krb5\src>


Any pointers or help is much appreciated as this is critical for my project.

Thanks,
Prashant



More information about the Kerberos mailing list