Page 1 of 1

WIN32 build of unreal ircd 3.2.1 failed

Posted: Wed Jul 21, 2004 4:01 am
by sevenstar
i tried to compile the unreal ircd 3.2.1's source code in win32, but i got some errors like this:

wircd.def : error LNK2001: unresolved external symbol tolowertab
wircd.def : error LNK2001: unresolved external symbol touppertab
wircd.lib : fatal error LNK1120: 2 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'
Stop.

any one could help me please? thanks in advance.

Posted: Wed Jul 21, 2004 4:21 am
by w00t
First: How are you compiling?
Second: Where did you download from?

Posted: Wed Jul 21, 2004 6:37 am
by sevenstar
w00t wrote:First: How are you compiling?
Second: Where did you download from?
:D
1.compile using vs.net 2003 under vs.net 2003 command prompt.
use the command "nmake -f makefile.win32" to compile it.

2.download it from here.
pick a mirror from http://www.unrealircd.com's download page.

Posted: Wed Jul 21, 2004 6:33 pm
by Syzop
any config.h (or other .h) changes?

Posted: Thu Jul 22, 2004 12:54 am
by sevenstar
Syzop wrote:any config.h (or other .h) changes?
yep,

Code: Select all

/*
   If you want to support chinese and/or japanese nicks
*/
#define CHINESE_NICK
#define JAPANESE_NICK
from #undef ->#define
it works fine since compile the 3.2 beta, unitl 3.2.1

Posted: Thu Jul 22, 2004 3:12 am
by Syzop
Right, that's what I suspected ;).
There was some other thread about this somewhere.
Unfortunately (IIRC) nobody submitted a bugreport about it on http://bugs.unrealircd.org/

Posted: Thu Jul 22, 2004 3:19 am
by codemastr
Well there is a reason no one submitted a bug... It's not a bug!

When you do that, the tolowertab/touppertab are no longer used. Therefore, you must remove them from wircd.def.

Posted: Mon Jul 26, 2004 1:00 am
by sevenstar
codemastr wrote:Well there is a reason no one submitted a bug... It's not a bug!

When you do that, the tolowertab/touppertab are no longer used. Therefore, you must remove them from wircd.def.
i tried it, it did make a EXE file, but it can't run anyway. :?

DEBUG CORE DUMP:

Code: Select all

Generated at Mon Jul 26 01:09:57 2004

Windows 2000 Service Pack 4 (5.0.2195)
Unreal3.2.1[FinWXeOoZE] (1.1.1.1.2.17 2004/07/03 19:04:02)
-----------------
Memory Information:
	Physical: (Available:45MB/Total:247MB)
	Virtual: (Available:2025MB/Total:2047MB)
-----------------
Exception:
	Access Violation
-----------------
Backup Buffer:
	
-----------------
Registers:
	EAX=0x00000031 EBX=0x7ffdf000 ECX=0x00000031
	EDX=0x00000031 ESI=0x00000031 EDI=0x00000000
	EIP=0x00432993 EBP=0x0012fb48 ESP=0x0012fb40
-----------------
Stack Trace:
	Module: wircd
		#0 d:\dev\unreal\src\ircd.c:842: do_version_check
		#1 d:\dev\unreal\src\ircd.c:1161: InitwIRCD
		#2 d:\dev\unreal\src\win32\win32gui.c:646: WinMain
		#3 f:\vs70builds\3077\vc\crtbld\crt\src\crtexe.c:390: WinMainCRTStartup
	Module: KERNEL32
		#4 f:\vs70builds\3077\vc\crtbld\crt\src\crtexe.c:390: OpenEventA

Posted: Mon Jul 26, 2004 2:18 am
by Syzop
Prolly a faulty ssl, zlib or curl library. (compiled with wrong [default] compile paramters)