Page 1 of 1

compile errors with Unrealircd 3.2.3 on windows

Posted: Tue Dec 13, 2005 6:35 am
by Mouse
I can compile older versions of unrealircd fine with vs 6.0
and my compiled unreal (older versions) worked fine.

but with unrealircd 3.2.3 I got compile errors now.


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 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

config.c
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. 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/version.c
version.c
link kernel32.lib user32.lib gdi32.lib shell32.lib ws2_32.lib advapi32.lib dbghelp.lib oldnames.lib comctl32.lib comdlg32.lib /def:wircd.def /implib:wircd.lib
/nologo /debug /debugtype:BOTH /out:WIRCD.EXE SRC/CHANNEL.OBJ SRC/SEND.OBJ SRC/SOCKET.OBJ SRC/S_CONF.OBJ SRC/FDLIST.OBJ SRC/DBUF.OBJ SRC/CLOAK.OBJ SRC/HASH.OBJ SRC/PARSE.O
BJ 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/RES_INIT.OBJ SRC/RES_COMP.OBJ SRC/RES_MKQUERY.OBJ SRC/RES_SKIPNAME.O
BJ SRC/S_KLINE.OBJ SRC/S_EXTRA.OBJ SRC/IRCSPRINTF.OBJ SRC/LUSERS.OBJ SRC/SCACHE.OBJ SRC/ALN.OBJ 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/EXTBANS.OBJ SRC/
GUI.OBJ SRC/SERVICE.OBJ SRC/DEBUG.OBJ SRC/RTF.OBJ SRC/EDITOR.OBJ SRC/WIN32.OBJ SRC/win32/WIN32.RES SRC/WIN32/TRE.LIB /MAPINFO:LINES /MAP
wircd.def : error LNK2001: unresolved external symbol EXTMODE_JOINTHROTTLE
wircd.def : error LNK2001: unresolved external symbol cmodej_addentry
wircd.def : error LNK2001: unresolved external symbol cmodej_cleanup_structs
wircd.def : error LNK2001: unresolved external symbol cmodej_conv_param
wircd.def : error LNK2001: unresolved external symbol cmodej_delchannelentries
wircd.def : error LNK2001: unresolved external symbol cmodej_delentry
wircd.def : error LNK2001: unresolved external symbol cmodej_deluserentries
wircd.def : error LNK2001: unresolved external symbol cmodej_dup_struct
wircd.def : error LNK2001: unresolved external symbol cmodej_free_param
wircd.def : error LNK2001: unresolved external symbol cmodej_get_param
wircd.def : error LNK2001: unresolved external symbol cmodej_is_ok
wircd.def : error LNK2001: unresolved external symbol cmodej_put_param
wircd.def : error LNK2001: unresolved external symbol cmodej_sjoin_check
wircd.lib : fatal error LNK1120: 13 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'
Stop.

Posted: Tue Dec 13, 2005 9:25 am
by Grass
something like "make clean"?

Posted: Tue Dec 13, 2005 9:31 pm
by w00t
Things have changed, and as far as I'm aware VS6 can no longer compile Unreal. Use a precompiled version, or grab VS.NET.

I'll test tonight with my copy of VS6 and see what happens.

Posted: Wed Dec 14, 2005 12:33 am
by Mouse
I dont have $800 to buy VS.NET and I dont like that product.

I do have all SDK and updates in my VS 6.0

Posted: Wed Dec 14, 2005 2:37 am
by Stealth
Even if you have all the updates to VS6 and the SDK does not mean you have a compiler compatable with 7.x code. You NEED to have VS .NET to compile Unreal, there is no way around it.

IIRC, .NET is the only supported Win32 compiler for Unreal

Posted: Wed Dec 14, 2005 4:54 am
by w00t
Mouse wrote:I dont have $800 to buy VS.NET and I dont like that product.

I do have all SDK and updates in my VS 6.0
Hrm, I was pretty sure they had a hobbyist version released now, with just the compiler-- no IDE?

Posted: Wed Dec 14, 2005 6:22 pm
by Bricker
get a precompiled version from Stealth? or from someone else?

Posted: Wed Dec 14, 2005 9:03 pm
by Jason
I downloaded the VS.NET thing listed in the compiling_win32.txt and was able to compile countless unreal's with it, having only VS6 otherwise (though I now have .NET)

Posted: Thu Dec 15, 2005 9:15 pm
by Grass
i use vs 6.0 standard edition +sp 5 + newish sdk and it works