Can't compile Unreal ZIP Link on Win

These are old archives. They are kept for historic purposes only.
Post Reply
some1
Posts: 2
Joined: Sun Aug 22, 2004 3:43 am

Can't compile Unreal ZIP Link on Win

Post 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.
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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?
Why the hell can't my signature be empty?
"Your message contains too few characters."
some1
Posts: 2
Joined: Sun Aug 22, 2004 3:43 am

Post by some1 »

Yes.
The problem is only when compiling a non-debug version :x
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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
Why the hell can't my signature be empty?
"Your message contains too few characters."
leonzhao
Posts: 2
Joined: Sat Sep 11, 2004 4:30 am

Post 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?
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

leonzhao
Posts: 2
Joined: Sat Sep 11, 2004 4:30 am

Post by leonzhao »

Yeah~

It works. Thanks a lot!
Post Reply