Page 1 of 1

Can't compile Unreal ZIP Link on Win

Posted: Sun Aug 29, 2004 11:05 am
by some1
No changes made, when not compiling a Debug version I get errors when setting USE_ZIPLINKS to 1.
link kernel32.lib user32.lib gdi32.lib shell32.lib ws2_32.lib advapi32.l
ib dbghelp.lib oldnames.lib comctl32.lib comdlg32.lib /LIBPATH:""c:\dev\zlib\dl
l32"" zlibwapi.lib /def:wircd.def /implib:wircd.lib /nologo /out:WIRCD.EX
E 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.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 S
RC/CRULE.OBJ SRC/S_DEBUG.OBJ SRC/SUPPORT.OBJ SRC/LIST.OBJ SRC/S_ERR.OBJ SRC/P
ACKET.OBJ SRC/S_BSD.OBJ SRC/S_SERV.OBJ SRC/S_USER.OBJ SRC/VERSION.OBJ SRC/RES_
INIT.OBJ SRC/RES_COMP.OBJ SRC/RES_MKQUERY.OBJ SRC/RES_SKIPNAME.OBJ SRC/S_KLINE.
OBJ SRC/S_EXTRA.OBJ SRC/IRCSPRINTF.OBJ SRC/LUSERS.OBJ SRC/SCACHE.OBJ SRC/ALN.OB
J 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/EXTBANS.OBJ SRC/ZIP.OBJ SRC/WIN32GUI.OBJ SRC
/SERVICE.OBJ SRC/DEBUG.OBJ SRC/win32/WIN32.RES SRC/WIN32/TRE.LIB /MAPINFO:LINES
/MAP
wircd.def : error LNK2001: unresolved external symbol Module_AddAsChild
wircd.def : error LNK2001: unresolved external symbol Module_IsAlreadyChild
wircd.def : error LNK2001: unresolved external symbol fast_badword_match
wircd.def : error LNK2001: unresolved external symbol fast_badword_replace
wircd.def : error LNK2001: unresolved external symbol find_CommandEx
wircd.def : error LNK2001: unresolved external symbol parse_addlag
wircd.def : error LNK2001: unresolved external symbol tkl_hash
wircd.lib : fatal error LNK1120: 7 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'
Stop.
I have no idea whats the problem. :/

BTW, even after "remarking" the ZIP Link lines, the errors continue.

Posted: Sun Aug 29, 2004 4:34 pm
by Jason
Are you on Win32?

I think you need both the source and compiled versions of ZLib.

Do you have these installed and their paths set properly in the makefile?

Posted: Sun Aug 29, 2004 4:36 pm
by some1
Yes.
The problem is only when compiling a non-debug version :x

Posted: Sun Aug 29, 2004 4:38 pm
by Jason
Best get help all on IRC or all on the forum...


[11:37:01] <+Jason> replied on the forum
[11:37:07] <+The_SNiFF> thx
[11:37:28] <+The_SNiFF> i did that
[11:37:36] <+The_SNiFF> the wierd thing, I can't compile when non-debug and ZIP link
[11:37:55] <+The_SNiFF> and then i have to extract the code all over again, since nothing fixes those error

Posted: Sat Sep 11, 2004 4:37 am
by leonzhao
Hi, I have the exactly same error here. I'm using zlib from http://www.winimage.com/zLibDll/. I've downloaded both source and bin. Still met error in the release version build.

BTW: I'v passed the build of debug version, but it refused to start up :(

Anyone have some sulotion for this?

Posted: Sat Sep 11, 2004 7:59 pm
by Syzop

Posted: Sat Sep 11, 2004 10:47 pm
by leonzhao
Yeah~

It works. Thanks a lot!