Received: from hermes.ctd.anl.gov (hermes.ctd.anl.gov [130.202.113.27]) by krbdev.mit.edu (8.9.3) with ESMTP id JAA08836; Fri, 18 Jul 2003 09:33:42 -0400 (EDT) Received: from hermes.ctd.anl.gov (localhost [127.0.0.1]) by hermes.ctd.anl.gov (8.9.1a/8.9.1) with ESMTP id IAA10562 for ; Fri, 18 Jul 2003 08:33:06 -0500 (CDT) Received: from anl.gov (atalanta.ctd.anl.gov [146.137.194.4]) by hermes.ctd.anl.gov (8.9.1a/8.9.1) with ESMTP id IAA10556; Fri, 18 Jul 2003 08:33:06 -0500 (CDT) Message-Id: <3F17F6EC.1F3A6024@anl.gov> Date: Fri, 18 Jul 2003 08:32:28 -0500 From: "Douglas E. Engert" X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: rt-comment@krbdev.mit.edu Cc: krb5-prs@mit.edu, rmdyer@uncc.edu Subject: Re: [krbdev.mit.edu #1675] Problem with Windows compile... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit RT-Send-Cc: X-RT-Original-Encoding: us-ascii Content-Length: 3651 I ran into this too. It means your MS SDK is not up to date. socklen_t is new. You can update from: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ "rmdyer@uncc.edu via RT" wrote: > > Hi, > > I just downloaded version 5-1.3. When trying to compile the sources under > Windows XP I get the following compile errors... > > 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_DEPRECATED=1 /Od /ZI /MDd -nologo /W3 > -Fdobj\i386\dbg\\ -FD -Foobj\i386\dbg\\ -c ... > crc32.c > c:\temp\krb5-1.3\src\include\k5-int.h(509) : error C2143: syntax error : > missing ')' before '*' > c:\temp\krb5-1.3\src\include\k5-int.h(509) : error C2081: 'socklen_t' : > name in formal parameter list illegal > c:\temp\krb5-1.3\src\include\k5-int.h(509) : error C2143: syntax error : > missing '{' before '*' > c:\temp\krb5-1.3\src\include\k5-int.h(509) : error C2059: syntax error : ')' > c:\temp\krb5-1.3\src\include\k5-int.h(509) : error C2059: syntax error : ';' > c:\temp\krb5-1.3\src\include\k5-int.h(1674) : error C2143: syntax error : > missing ')' before '*' > c:\temp\krb5-1.3\src\include\k5-int.h(1674) : error C2081: 'socklen_t' : > name in formal parameter list illegal > c:\temp\krb5-1.3\src\include\k5-int.h(1674) : error C2143: syntax error : > missing ';' before '*' > c:\temp\krb5-1.3\src\include\k5-int.h(1674) : error C2059: syntax error : '*' > c:\temp\krb5-1.3\src\include\k5-int.h(1674) : error C2059: syntax error : ')' > c:\temp\krb5-1.3\src\include\k5-int.h(1691) : error C2059: syntax error : '}' > c:\temp\krb5-1.3\src\include\k5-int.h(1698) : error C2143: syntax error : > missing ')' before '*' > c:\temp\krb5-1.3\src\include\k5-int.h(1698) : error C2143: syntax error : > missing '{' before '*' > c:\temp\krb5-1.3\src\include\k5-int.h(1698) : error C2059: syntax error : ',' > c:\temp\krb5-1.3\src\include\k5-int.h(1698) : error C2059: syntax error : ')' > c:\temp\krb5-1.3\src\include\k5-int.h(1721) : error C2143: syntax error : > missing ')' before '*' > c:\temp\krb5-1.3\src\include\k5-int.h(1721) : error C2081: 'socklen_t' : > name in formal parameter list illegal > c:\temp\krb5-1.3\src\include\k5-int.h(1721) : error C2143: syntax error : > missing '{' before '*' > c:\temp\krb5-1.3\src\include\k5-int.h(1721) : error C2059: syntax error : ')' > c:\temp\krb5-1.3\src\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. > > Help is appreciated. > > Thanks, > > Rodney > > Rodney M. Dyer > Windows Systems Programmer > Mosaic Computing Group > William States Lee College of Engineering > University of North Carolina at Charlotte > Email: rmdyer@uncc.edu > Web: http://www.coe.uncc.edu/~rmdyer > Phone (704)687-3518 > Help Desk Line (704)687-3150 > FAX (704)687-2352 > Office 267 Smith Building > > _______________________________________________ > krb5-bugs mailing list > krb5-bugs@mit.edu > http://mailman.mit.edu/mailman/listinfo/krb5-bugs -- Douglas E. Engert Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444