Page 1 of 1

Trying a win32 Compile - Fails with nmake

Posted: Wed Mar 01, 2006 6:54 am
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?

Posted: Wed Mar 01, 2006 1:47 pm
by Syzop
platform sdk

Posted: Wed Mar 01, 2006 10:24 pm
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.

Posted: Mon Mar 06, 2006 5:08 am
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.

Posted: Tue Apr 11, 2006 8:43 pm
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?

Posted: Wed Apr 12, 2006 2:25 pm
by Ron2K
The "unresolved external symbol" is in the FAQ.

http://www.vulnscan.org/UnrealIRCd/faq/#76

Posted: Wed Apr 12, 2006 7:46 pm
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.

Posted: Wed Apr 12, 2006 10:03 pm
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.

Posted: Wed Apr 12, 2006 10:35 pm
by frozen
Wouldn't using MSVC 7.0, make Unreal need the .net runtime files?

Posted: Wed Apr 12, 2006 10:40 pm
by aquanight
No. If anything you'd only need .NET for the compiler itself, and not necessarily even that.

Posted: Wed Apr 12, 2006 10:53 pm
by frozen
So, MSVC7 is C#?
I can't find a "MSVC7" compiler.

Posted: Wed Apr 12, 2006 11:28 pm
by aquanight
...No.

VC7 is C (or C++).

Posted: Mon Apr 17, 2006 9:16 am
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?

Posted: Mon Apr 17, 2006 6:08 pm
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)