View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002315 | unreal | ircd | public | 2005-02-02 20:50 | 2005-02-03 13:41 |
| Reporter | aquanight | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | reopened | ||
| Product Version | 3.2.2 | ||||
| Summary | 0002315: Win32 CVS does not compile | ||||
| Description | The latest CVS does not compile on Win32: link kernel32.lib user32.lib gdi32.lib shell32.lib ws2_32.lib advapi32.l ib dbghelp.lib oldnames.lib comctl32.lib comdlg32.lib /LIBPATH:""D:\unreal-libs \zlib\dll32"" zlibwapi.lib /LIBPATH:""D:\unreal-libs\openssl\lib"" ssleay32.lib libeay32.lib /LIBPATH:""D:\unreal-libs\curl\lib"" libcurl.lib /def:wircd.def /i mplib:wircd.lib /nologo /debug /debugtype:BOTH /out:WIRCD.EXE 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/VERSION.OBJ SRC/RES_INIT.OBJ SRC/RES_CO MP.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.OBJ SRC/BADWORDS.OBJ SRC/WEBTV.OBJ SRC/RES.OBJ SRC/MODULES.OBJ SRC/S_SVS.OBJ SRC/EVENTS.OBJ SRC/UMOD ES.OBJ SRC/AUTH.OBJ SRC/CIDR.OBJ SRC/SSL.OBJ SRC/RANDOM.OBJ SRC/EXTCMODES.OBJ S RC/MD5.OBJ SRC/API-ISUPPORT.OBJ SRC/API-COMMAND.OBJ SRC/EXTBANS.OBJ SRC/ZIP.OBJ SRC/URL.OBJ SRC/GUI.OBJ SRC/SERVICE.OBJ SRC/DEBUG.OBJ SRC/RTF.OBJ SRC/EDITOR.O BJ SRC/WIN32.OBJ SRC/win32/WIN32.RES SRC/WIN32/TRE.LIB /MAPINFO:LINES /MAP LINK : warning LNK4224: /DEBUGTYPE:BOTH is no longer supported; ignored LINK : warning LNK4075: ignoring '/MAPINFO:LINES' due to '/INCREMENTAL' specific ation wircd.def : error LNK2001: unresolved external symbol bounce_mode wircd.def : error LNK2001: unresolved external symbol chbounce wircd.def : error LNK2001: unresolved external symbol chlbounce wircd.def : error LNK2001: unresolved external symbol do_extmode_char wircd.def : error LNK2001: unresolved external symbol do_mode_char wircd.def : error LNK2001: unresolved external symbol extended_operoverride wircd.def : error LNK2001: unresolved external symbol m_join wircd.def : error LNK2001: unresolved external symbol m_mode wircd.def : error LNK2001: unresolved external symbol m_nick wircd.def : error LNK2001: unresolved external symbol m_part wircd.def : error LNK2001: unresolved external symbol m_umode wircd.def : error LNK2001: unresolved external symbol m_user wircd.def : error LNK2001: unresolved external symbol make_mode_str 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. | ||||
| 3rd party modules | |||||
|
|
Even just plain tried fresh CVS (eg, rmdir /s Unreal && cvs blablabla login && cvs blablabla co bla). No go. *edit* Oddly enough, I define NO_OPEROVERRIDE, why is it referencing that anyway? :p |
|
|
As we've said many times in the past, we don't always update wircd.def immediately. If you really need to compile the CVS version for Windows, get dlltool.exe and run nmake -f makefile.win32 symbolfile |
|
|
Ok, I did the libtool stuff (apparently, I already had cygwin's libtoo, so it was just a question of adding cygwin's bin folder (and playing with $CYGWIN, fun) to PATH), but I don't know if this one can be blamed on libtool :P ... Creating library L_COMMANDS.lib and object L_COMMANDS.exp L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_mode_Test referenc ed in function _Mod_Test L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_join_Test referenc ed in function _Mod_Test L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_lusers_Init refere nced in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_botmotd_Init refer enced in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_opermotd_Init refe renced in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_motd_Init referenc ed in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_join_Init referenc ed in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_part_Init referenc ed in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_watch_Init referen ced in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_mode_Init referenc ed in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_user_Init referenc ed in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_nick_Init referenc ed in function _Mod_Init L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_lusers_Load refere nced in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_botmotd_Load refer enced in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_opermotd_Load refe renced in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_motd_Load referenc ed in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_join_Load referenc ed in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_part_Load referenc ed in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_watch_Load referen ced in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_mode_Load referenc ed in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_user_Load referenc ed in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_nick_Load referenc ed in function _Mod_Load L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_lusers_Unload refe renced in function _Mod_Unload L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_botmotd_Unload ref erenced in function _Mod_Unload L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_opermotd_Unload re ferenced in function _Mod_Unload L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_motd_Unload refere nced in function _Mod_Unload L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_join_Unload refere nced in function _Mod_Unload L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_part_Unload refere nced in function _Mod_Unload L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_watch_Unload refer enced in function _Mod_Unload L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_mode_Unload refere nced in function _Mod_Unload L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_user_Unload refere nced in function _Mod_Unload L_COMMANDS.obj : error LNK2019: unresolved external symbol _m_nick_Unload refere nced in function _Mod_Unload M_OPER.obj : error LNK2019: unresolved external symbol _m_join referenced in fun ction _m_oper M_SVSJOIN.obj : error LNK2001: unresolved external symbol _m_join M_UMODE2.obj : error LNK2019: unresolved external symbol _m_umode referenced in function _m_umode2 src/modules/commands.dll : fatal error LNK1120: 34 unresolved externals NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. I even tried running symbolfile again and rebuid. Same thing. Could be libtool is not picking up one or more of the files (wouldn't be surprised if the cygwin libtool is doing odd things... it did refuse to work at first with cygwin case mapping on strict (iow, UNIX-style)...), but I dunno... Even with cygwin case mapping set to adjust or relaxed, it gets that far (yes, I did run symbolfile again) and then splats. |
|
|
There's even a FAQ entry on this.. www.vulnscan.org/UnrealIRCd/faq/76 along with a link to dlltool.exe there, so try that one. |
|
|
Ok, tried the dlltool there, no luck. Exact same thing, gets up to linking commands.dll and dumps out with those unresolved symbols... |
|
|
I think I forgot to add some files to the win32 makefile, I'll do that soon. |
|
|
I'll have it fixed in an hour or so, seems it's a tad more than just the makefile :). |
|
|
Syzop is this the same with my recent bug report? |
|
|
Ok, fixed in latest CVS [.251!] ->vonitsanet: Oh sorry you are on *NIX.. well I don't know what happened with that, but be sure you don't load CVS modules on 3.2.2(b) or whatever ;). In either case, just re-checkout CVS and be sure to do a make clean; ./Config -q; make && make install |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2005-02-02 20:50 | aquanight | New Issue | |
| 2005-02-02 21:10 | aquanight | Note Added: 0008986 | |
| 2005-02-02 21:30 | aquanight | Note Edited: 0008986 | |
| 2005-02-02 22:46 |
|
Status | new => closed |
| 2005-02-02 22:46 |
|
Note Added: 0008989 | |
| 2005-02-03 01:08 | aquanight | Status | closed => feedback |
| 2005-02-03 01:08 | aquanight | Resolution | open => reopened |
| 2005-02-03 01:08 | aquanight | Note Added: 0008993 | |
| 2005-02-03 10:17 | syzop | Note Added: 0008996 | |
| 2005-02-03 10:17 | syzop | Note Edited: 0008996 | |
| 2005-02-03 11:56 | aquanight | Note Added: 0008997 | |
| 2005-02-03 12:05 | syzop | Note Added: 0009000 | |
| 2005-02-03 12:32 | syzop | Note Added: 0009001 | |
| 2005-02-03 12:39 | vonitsanet | Note Added: 0009002 | |
| 2005-02-03 13:02 | syzop | Note Added: 0009004 | |
| 2005-02-03 13:41 | syzop | Status | feedback => closed |