Skip Menu |
 

Date: Thu, 17 Jul 2003 19:08:08 -0400
From: Rodney M Dyer <rmdyer@uncc.edu>
Subject: Problem with Windows compile...
To: krb5-bugs@mit.edu
Download (untitled) / with headers
text/plain 2.9KiB
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
Date: Fri, 18 Jul 2003 08:32:28 -0500
From: "Douglas E. Engert" <deengert@anl.gov>
To: rt-comment@krbdev.mit.edu
Cc: krb5-prs@mit.edu, rmdyer@uncc.edu
Subject: Re: [krbdev.mit.edu #1675] Problem with Windows compile...
RT-Send-Cc:
Download (untitled) / with headers
text/plain 3.5KiB
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:
Show quoted text
>
> 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 <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
Date: Fri, 18 Jul 2003 10:59:06 -0400
From: Rodney M Dyer <rmdyer@uncc.edu>
Subject: Problem with Windows compile...
To: krb5-bugs@mit.edu
Hi,

With help from Douglas E. Engert I was able to resolve this problem. It
appears that the Krb5 1.3 Windows README file needs to be updated. The
"Microsoft Platform SDK - November 2001" line needs to be changed to
"Microsoft Platform SDK - February 2003".

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
From: tlyu@mit.edu
Subject: CVS Commit
* README: Note requirement for Feb 2003 Platform SDK. Thanks to
Doug Engert and Rodney Dyer.


To generate a diff of this commit:



cvs diff -r1.19 -r1.20 krb5/src/windows/ChangeLog
cvs diff -r1.6 -r1.7 krb5/src/windows/README
From: tlyu@mit.edu
Subject: CVS Commit
pullup from trunk


To generate a diff of this commit:



cvs diff -r1.19.2.9 -r1.19.2.10 krb5/src/windows/ChangeLog
cvs diff -r1.6 -r1.6.2.1 krb5/src/windows/README
Download (untitled) / with headers
text/plain 4.1KiB
socklen_t was introduced into the Platform SDK with the August 2001
release of the Platform SDK.

There is an alternate possible cause of the reported compilation errors:

The compilation environment was incorrectly configured. It is required
that the Platform SDK environment take precedence over the Visual C++
6.0 environment.

To properly construct the build environment the following commands should
be issued to enable construction of Krb5 for all 32-bit Windows
operating systems:

c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat
c:\program files\microsoft sdk\setenv.bat /2000 /RETAIL
SET APPVER=4.0
SET TARGETOS=BOTH
SET _WIN32_IE=0x0400

replace /RETAIL with /DEBUG for debug builds.

NOTE: krb5 when built standalone uses a file based credentials cache.
KfW should be used to construct the full set of executables and
libraries including the in-memory credential cache.

I believe the applied change should be removed.

Jeffrey Altman



[rmdyer@uncc.edu - Thu Jul 17 19:08:34 2003]:

Show quoted text
> 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
>
From: tlyu@mit.edu
Subject: CVS Commit
* README: Revert previous change, as it was in error; socklen_t
was introduced in Aug 2001 Platform SDK, and the actual problem
reported was very probably a compilation environment
misconfiguration.


To generate a diff of this commit:



cvs diff -r1.20 -r1.21 krb5/src/windows/ChangeLog
cvs diff -r1.7 -r1.8 krb5/src/windows/README
From: tlyu@mit.edu
Subject: CVS Commit
pullup from trunk


To generate a diff of this commit:



cvs diff -r1.19.2.10 -r1.19.2.11 krb5/src/windows/ChangeLog
cvs diff -r1.6.2.1 -r1.6.2.2 krb5/src/windows/README