Unreal win32 compile problem??

These are old archives. They are kept for historic purposes only.
R3M
Posts: 26
Joined: Thu Aug 18, 2005 7:21 pm
Location: Ankara TR

Post by R3M »

i have already did.But there is a alot of error like above.
R-3
wax
Posts: 72
Joined: Tue Oct 04, 2005 6:32 am
Location: ByNets@Belarus
Contact:

Post by wax »

R3M wrote:i have downloaded wpsdk for win 2003 server sp1.and i have used win32 build environment retail.it said me

Code: Select all

S_DEBUG.OBJ : warning LNK4044: unrecognized option "manifestdependency:type='win
32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'"; ignored
wircd.def : error LNK2001: unresolved external symbol add_remote_include
wircd.def : error LNK2001: unresolved external symbol add_send_mode_param
wircd.def : error LNK2001: unresolved external symbol badwords_stats
wircd.def : error LNK2001: unresolved external symbol ban_version
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_loaded_remote_include

wircd.def : error LNK2001: unresolved external symbol find_remote_include
wircd.def : error LNK2001: unresolved external symbol m_names
wircd.def : error LNK2001: unresolved external symbol mystpcpy
wircd.def : error LNK2001: unresolved external symbol our_strcasestr
wircd.def : error LNK2001: unresolved external symbol remote_include
wircd.def : error LNK2001: unresolved external symbol send_channel_modes
wircd.def : error LNK2001: unresolved external symbol send_channel_modes_sjoin
wircd.def : error LNK2001: unresolved external symbol send_channel_modes_sjoin3
wircd.def : error LNK2001: unresolved external symbol stripbadwords
wircd.def : error LNK2001: unresolved external symbol w_whois
wircd.def : error LNK2001: unresolved external symbol webtv_cmds
wircd.def : error LNK2001: unresolved external symbol webtv_parse
wircd.lib : fatal error LNK1120: 19 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'
Stop.
http://www.vulnscan.org/UnrealIRCd/faq/#76
R3M
Posts: 26
Joined: Thu Aug 18, 2005 7:21 pm
Location: Ankara TR

Post by R3M »

Compiling - Windows: unresolved external symbol ..

This can mean multiple things, but if you get unresolved symbols in non-windows functions, such as:

Creating library L_COMMANDS.lib and object L_COMMANDS.exp
M_OPER.obj : error LNK2019: unresolved external symbol _sendto_snomask_global re
ferenced in function _m_oper
M_INVITE.obj : error LNK2001: unresolved external symbol _sendto_snomask_global
src/modules/commands.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

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).
Excuse me.what is SYMBOLFILE? i didn't understand.
R-3
R3M
Posts: 26
Joined: Thu Aug 18, 2005 7:21 pm
Location: Ankara TR

Post by R3M »

i have used "nmake -f makefile.win32 SYMBOLFILE" to succeed.Bu then i i type "nmake -f makefile.win32" it said me this error:

Code: Select all

        link kernel32.lib user32.lib gdi32.lib shell32.lib ws2_32.lib advapi32.l
ib  dbghelp.lib oldnames.lib comctl32.lib comdlg32.lib        /def:wircd.def /im
plib:wircd.lib  /nologo /debug /out:WIRCD.EXE SRC/CHANNEL.OBJ SRC/SEND.OBJ SRC/S
OCKET.OBJ  SRC/S_CONF.OBJ SRC/FDLIST.OBJ SRC/DBUF.OBJ   SRC/CLOAK.OBJ SRC/HASH.O
BJ 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/S
UPPORT.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.OBJ SRC/RES.OBJ SR
C/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/TIMESYNCH.OBJ   SRC/GUI.OBJ SRC/SER
VICE.OBJ SRC/DEBUG.OBJ SRC/RTF.OBJ  SRC/EDITOR.OBJ SRC/WIN32.OBJ SRC/win32/WIN32
.RES SRC/WIN32/TRE.LIB SRC/WIN32/ARESLIB.LIB /MAPINFO:LINES /MAP
   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.
Now what must i do?And and for mysql supporting module?What can i do?What is libraries?
R-3
MarHazK
Posts: 73
Joined: Wed May 25, 2005 5:36 pm
Location: WebMAS.net
Contact:

Post by MarHazK »

Why dont you use MSVC 7.0 or 7.1. Its better than the other version.
GreenRoom SEC - Main Coder & CoMaster (http://www.wiramaster.com)
DataServ IRC Services - Main Coder
AirChat Network - Main Coder (http://www.airchat.org)
WebMAS Network - Main Team (http://www.webmas.net)
Post Reply