WIN32 build of unreal ircd 3.2.1 failed

These are old archives. They are kept for historic purposes only.
Post Reply
sevenstar
Posts: 5
Joined: Mon Jul 05, 2004 6:08 am

WIN32 build of unreal ircd 3.2.1 failed

Post 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.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

First: How are you compiling?
Second: Where did you download from?
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
sevenstar
Posts: 5
Joined: Mon Jul 05, 2004 6:08 am

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

Post by Syzop »

any config.h (or other .h) changes?
sevenstar
Posts: 5
Joined: Mon Jul 05, 2004 6:08 am

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

Post 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/
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post 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.
-- codemastr
sevenstar
Posts: 5
Joined: Mon Jul 05, 2004 6:08 am

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

Post by Syzop »

Prolly a faulty ssl, zlib or curl library. (compiled with wrong [default] compile paramters)
Post Reply