compiling error

Douglas E. Engert deengert at anl.gov
Wed Feb 25 10:59:42 EST 2004


Have se this before. You need a the Microsoft SDK. 
See [krbdev.mit.edu #1675] Windows build needs Feb 2003 Platform SDK 

Marcel wrote:
> 
> hello, can anybody help me out. i'm trying to compile kfw-2.5-src on a windows XP machine
> with visual studio 6 c++. but when I try to compile the source I always got the following
> message. I already looked in google but didn't find any solution.
> 
> ------
> 
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> 
>         cd crc32
> Making in crypto\crc32
>         NMAKE -
> 
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> 
>         cl    -I.\..\..\..\include -I.\..\..\..\include\krb5  -DKRB5_PRIVATE=1 -
> DWIN32_LEAN_AND_MEAN -DKRB5_DEPRECA
> TED=1 /Os /MD -nologo /W3 -Fdobj\i386\rel\\ -FD  -Foobj\i386\rel\\ -c ...
> crc32.c
> .\..\..\..\include\k5-int.h(509) : error C2143: syntax error : missing ')' before '*'
> .\..\..\..\include\k5-int.h(509) : error C2081: 'socklen_t' : name in formal parameter list illegal
> .\..\..\..\include\k5-int.h(509) : error C2143: syntax error : missing '{' before '*'
> .\..\..\..\include\k5-int.h(509) : error C2059: syntax error : ')'
> .\..\..\..\include\k5-int.h(509) : error C2059: syntax error : ';'
> .\..\..\..\include\k5-int.h(1674) : error C2143: syntax error : missing ')' before '*'
> .\..\..\..\include\k5-int.h(1674) : error C2081: 'socklen_t' : name in formal parameter list illegal
> .\..\..\..\include\k5-int.h(1674) : error C2143: syntax error : missing ';' before '*'
> .\..\..\..\include\k5-int.h(1674) : error C2059: syntax error : '*'
> .\..\..\..\include\k5-int.h(1674) : error C2059: syntax error : ')'
> .\..\..\..\include\k5-int.h(1691) : error C2059: syntax error : '}'
> .\..\..\..\include\k5-int.h(1698) : error C2143: syntax error : missing ')' before '*'
> .\..\..\..\include\k5-int.h(1698) : error C2143: syntax error : missing '{' before '*'
> .\..\..\..\include\k5-int.h(1698) : error C2059: syntax error : ','
> .\..\..\..\include\k5-int.h(1698) : error C2059: syntax error : ')'
> .\..\..\..\include\k5-int.h(1721) : error C2143: syntax error : missing ')' before '*'
> .\..\..\..\include\k5-int.h(1721) : error C2081: 'socklen_t' : name in formal parameter list illegal
> .\..\..\..\include\k5-int.h(1721) : error C2143: syntax error : missing '{' before '*'
> .\..\..\..\include\k5-int.h(1721) : error C2059: syntax error : ')'
> .\..\..\..\include\k5-int.h(1721) : error C2059: syntax error : ';'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
> Studio\VC98\Bin\NMAKE.EXE"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
> Studio\VC98\Bin\NMAKE.EXE"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
> Studio\VC98\Bin\NMAKE.EXE"' : return code '0x2'
> Stop.
> 
> -----
> 
> i looked at the source code, but i'm not very familiar with c! thx
> 
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos

-- 

 Douglas E. Engert  <DEEngert at anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (630) 252-5444


More information about the Kerberos mailing list