Im trying to compile UnrealIRCd inorder to compile a few modules source codes that I have. This is the first time I have ever tried to do this but I do understand the concept, being that i compile with borland c++ all the time...
I downloaded all the software i needed to compile Unreal and anope but while compiling unreal i get this error:
-------------------------------------------------------------------------------------
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 read somewhere to download dlltool and place it in winnt\system32 then type nmake -f makefile.win32 SYMBOLFILE , I have windows xp so i placed it in Windows\system32, and that gave me another error:
-------------------------------------------------------------------------------------
/out:def-clean.exe
def-clean.obj
dlltool --output-def wircd.def.in --export-all-symbols SRC/CHANNEL.OBJ S
RC/SEND.OBJ SRC/SOCKET.OBJ SRC/S_CONF.OBJ SRC/FDLIST.OBJ SRC/DBUF.OBJ SRC/CLO
AK.OBJ SRC/HASH.OBJ SRC/PARSE.OBJ SRC/IRCD.OBJ SRC/S_NUMERIC.OBJ SRC/WHOWAS.OBJ
SRC/S_AUTH.OBJ SRC/HELP.OBJ SRC/S_MISC.OBJ SRC/MATCH.OBJ SRC/CRULE.OBJ SRC/S
_DEBUG.OBJ SRC/SUPPORT.OBJ SRC/LIST.OBJ SRC/S_ERR.OBJ SRC/PACKET.OBJ SRC/S_BSD
.OBJ SRC/S_SERV.OBJ SRC/S_USER.OBJ SRC/CHARSYS.OBJ SRC/VERSION.OBJ SRC/S_KLINE
.OBJ SRC/S_EXTRA.OBJ SRC/IRCSPRINTF.OBJ SRC/LUSERS.OBJ SRC/SCACHE.OBJ SRC/ALN.O
BJ SRC/BADWORDS.OBJ SRC/WEBTV.OBJ SRC/RES.OBJ SRC/MODULES.OBJ SRC/S_SVS.OBJ SRC
/EVENTS.OBJ SRC/UMODES.OBJ SRC/AUTH.OBJ SRC/CIDR.OBJ SRC/SSL.OBJ SRC/RANDOM.OBJ
SRC/EXTCMODES.OBJ SRC/MD5.OBJ SRC/API-ISUPPORT.OBJ SRC/API-COMMAND.OBJ SRC/EXT
BANS.OBJ
dlltool: Unable to open object file: SRC/CHANNEL.OBJ
NMAKE : fatal error U1077: 'dlltool' : return code '0x1'
Stop.
-------------------------------------------------------------------------------------
Can anyone please help me? Thanks
Compiling UnrealIRCd3.2.4 win32
http://www.vulnscan.org/UnrealIRCd/faq/#76
Then this is because the wircd.def file is not up to date with your compile settings. Fixing this is simple, you need to download dlltool.exe and place it in your path (eg: c:\winnt\system32). Then, for compiling you use something like this:
nmake -f makefile.win32 [your other options here]
nmake -f makefile.win32 SYMBOLFILE
nmake -f makefile.win32 [your other options here]
So basically you just run nmake -f makefile.win32 SYMBOLFILE and then restart compiling again.
If that didn't help, then this is a different problem (eg: old compiler, too new compiler, invalid compile environment, etc).
Interestingly enough, I'm getting similar errors after getting the dlltool.exe into the System32:
However i'm doing it exactly as how the 'Compiling_win32.txt' walkthrough states, even using the same format of Compiler and such o_O
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.
Synaptic Technologies | alexisNet | Script System
- nate / synapt -
- nate / synapt -
Done and installed here o_OSyzop wrote:platform sdk !
Atleast the one which was required for Visual C++ 6, which was the February 2003 Build of the PSDK. Is there some reason that one wouldn't work, where as it did in the past?
Synaptic Technologies | alexisNet | Script System
- nate / synapt -
- nate / synapt -
ha!.. vc6! ;p
Well as mentioned in compiling_win32.txt it _might_ work ;p.
There's an updated (but untested) new compiling_win32.txt
I wished a link to "head" would work, but anyway, this is the current version of compiling_win32.txt in cvs as we speak: link
Maybe it helps.
That said, some people have complained with *too new* compilers as well (yell at microsoft, not me :P)... so you'll have to test and see
Well as mentioned in compiling_win32.txt it _might_ work ;p.
There's an updated (but untested) new compiling_win32.txt
I wished a link to "head" would work, but anyway, this is the current version of compiling_win32.txt in cvs as we speak: link
Maybe it helps.
That said, some people have complained with *too new* compilers as well (yell at microsoft, not me :P)... so you'll have to test and see
Bah, my problem is being able to afford anything new, haha.
I'll try to see if I can get myself Visual C++ 7 perhaps, that seems to be the average recommended setup or the stuff from your new guide.
I'll try to see if I can get myself Visual C++ 7 perhaps, that seems to be the average recommended setup or the stuff from your new guide.
Synaptic Technologies | alexisNet | Script System
- nate / synapt -
- nate / synapt -