Compiling UnrealIRCd3.2.4 win32
Posted: Tue Mar 07, 2006 7:20 pm
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
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