Trying a win32 Compile - Fails with nmake

These are old archives. They are kept for historic purposes only.
Post Reply
nate
Posts: 148
Joined: Fri Jul 29, 2005 10:12 am
Location: Johnstown, Pa
Contact:

Trying a win32 Compile - Fails with nmake

Post by nate »

Decided to try and piss around with selfcompiling Unreal 3.2.4, it looks like its going good and all for awhile, until it gets to:

Code: Select all

src/support.c(2404) : error C2065: 'WSASYSCALLFAILURE' : undeclared identifier
src/support.c(2404) : error C2099: initializer is not a constant
src/support.c(2404) : warning C4047: 'initializing' : 'int ' differs in levels of indirection from 'unsigned char [20]'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
I searched the forums, only found one thread which actually had this specific error of sorts atleast, but wasn't really clearly answered, and a google search also brought up nothing helpful.

Given i'm not an expert on compiling, I DO have a general knowledge of it, and I'm far from a basic computer user, I catch on rather quick with new things and decided to just take a shot at this myself (mostly because i'm also interested in recompiling a few modules to properly work on 3.2.4 also.

So any tips?

I do feel the need to note that I have Visual C++ 6.0 (Basically where the nmake came from), while it says it still might possibly work given all the extra stuff you need (Service packs and crap) which I have, is it possible this is something related to that?
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

platform sdk
nate
Posts: 148
Joined: Fri Jul 29, 2005 10:12 am
Location: Johnstown, Pa
Contact:

Post by nate »

You know, I was actually just gonna post and say I got that, but I re-read the damned PSDK page on the microsoft page, and apparently the one I just downloaded from them is no longer supported with Visual C++ 6 :|

Dun suppose anyone has the link to the previous build where I could get this?

Only way microsoft will give it to me is if I order it on a CD -_o

Until then I'll continue google searching to see if I can find it.
nate
Posts: 148
Joined: Fri Jul 29, 2005 10:12 am
Location: Johnstown, Pa
Contact:

Post by nate »

Okay, got the PSDK, got past the original error I was getting, now I have:

Code: Select all

Creating library wircd.lib and object wircd.exp
ARESLIB.LIB(windows_port.obj) : error LNK2001: unresolved external symbol __alld
vrm
WIRCD.EXE : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
Softice
Posts: 7
Joined: Tue Apr 11, 2006 8:40 pm

Post by Softice »

I have the same problem here..done the same things you have done and got same error..can anyone help us out please?
Ron2K

Post by Ron2K »

The "unresolved external symbol" is in the FAQ.

http://www.vulnscan.org/UnrealIRCd/faq/#76
Softice
Posts: 7
Joined: Tue Apr 11, 2006 8:40 pm

Post by Softice »

done that and this error keeps coming back and i can't figure it out what the problem is

Creating library wircd.lib and object wircd.exp
ARESLIB.LIB(windows_port.obj) : error LNK2001: unresolved external symbol __alld
vrm
WIRCD.EXE : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Basically what it CURRENTLY comes down to is.. you need MSVC 7.0 or MSVC 7.1, all the other versions seem to cause trouble.

Details:
MSVC6 no longer compiles
MSVC8 (visual studio 2005 / the latest free kit) causes crashes, including an incorrect backtrace making it hard to solve.

Of course, the objective, is to get MSVC8 to work again, but how long that will take: I don't know.
frozen
Posts: 53
Joined: Sat Jun 12, 2004 7:39 am

Post by frozen »

Wouldn't using MSVC 7.0, make Unreal need the .net runtime files?
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

No. If anything you'd only need .NET for the compiler itself, and not necessarily even that.
frozen
Posts: 53
Joined: Sat Jun 12, 2004 7:39 am

Post by frozen »

So, MSVC7 is C#?
I can't find a "MSVC7" compiler.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

...No.

VC7 is C (or C++).
Softice
Posts: 7
Joined: Tue Apr 11, 2006 8:40 pm

Post by Softice »

i have installed visual studio.net 2003 and compiling did go right this time and i have i wircd.exe but when i start it i get this error: [!!!] Curl version mismatch: compiled for '7.15.3', library is '7.13.1'
I used the package provided on vulnscan sow what can i do about it
I'm not kind of a programmer but i like to play around with it .
anybody can help me?
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Probably using some old dll from your machine, the .dll you need is included in the win32 dev package zip in curl\lib\libcurl.dll or curl-ssl\lib\libcurl.dll (alternatively, just copy the dll from your 3.2.4 install directory, it's the same)
Post Reply