Compile Error (Windows)

These are old archives. They are kept for historic purposes only.
Post Reply
SLipKnOt
Posts: 42
Joined: Sat Apr 10, 2004 6:43 pm
Location: Bangladesh , dhaka
Contact:

Compile Error (Windows)

Post by SLipKnOt »

C:\>cd Unreal3.2.2

C:\Unreal3.2.2>cd Unreal3.2

C:\Unreal3.2.2\Unreal3.2>nmake -f makefile.win32

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cl src/win32/config.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

config.c
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

/out:config.exe
config.obj
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/win32/unreal.c
unreal.c
rc /l 0x409 /fosrc/win32/unreal.res /i ./include /i ./src /d NDEBUG src
/win32/unreal.rc
link advapi32.lib src/unreal.obj src/win32/unreal.res
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/channel.c
channel.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/send.c
send.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/socket.c
socket.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/s_conf.c
s_conf.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/fdlist.c
fdlist.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/dbuf.c
dbuf.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c /c SRC/CLOAK.c
CLOAK.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/hash.c
hash.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/parse.c
parse.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/ircd.c
ircd.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/s_numeric.c
s_numeric.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/whowas.c
whowas.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/s_auth.c
s_auth.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/help.c
help.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/s_misc.c
s_misc.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/match.c
match.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/crule.c
crule.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/s_debug.c
s_debug.c
cl /MD /Zi /J /I ./INCLUDE /Fosrc/ /nologo /D FD_SETSIZE=16384 /
D NOSPOOF=1 /c src/support.c
support.c
src\support.c(2327) : error C2065: 'WSASYSCALLFAILURE' : undeclared identifier
src\support.c(2327) : error C2099: initializer is not a constant
src\support.c(2327) : warning C4047: 'initializing' : 'int' differs in levels of
indirection from 'unsigned char [20]'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

C:\Unreal3.2.2\Unreal3.2>

im on winxp sp1 .. sdk core platform is also updated but its not working.. any help on that :)
./SLipKnOt --help
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Could be your MSVC version. As mentioned in doc/compiling_win32.txt we highly recommend using MSVC 7.x, this is also the version we use for building the official binaries.

I suppose you could use the free MSVC 2003 toolkit for compiling.

*edit* Hm.. If I misread your version (I just noticed 7.1 stuff), then there shouldn't be any need to install the PSDK, be sure to use the proper command prompt however ("Visual Studio .NET Command Prompt"). Don't know how both of these work with the free thingy, so if anyone wants to correct me.. feel free to do so.. */edit*
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Hmmm.... oddly enough, your compiler and linker are 7.1, but nmake looks to be for 6.0? Doesn't make sense to me...

@Syzop, of course if you use the free compiler stuff, you'd still need the PSDK :P . Just those people who actually have Visual C++/Studio already have both :) .
Post Reply