Page 1 of 2

Unreal3.2.3 successfully compiled but failed to running?

Posted: Wed May 25, 2005 6:23 pm
by MarHazK
I need help......
(1st compiled doesnt works as well)
(2nd compiled doesnt works as well. Result are listed below:)
NOTES: "doesnt works as well" mean, unreal service and wircd.exe doesnt works as well.

-------------------------------[Start compiling]----------------------------------

Code: Select all

Setting environment for using Microsoft Visual C++ tools.

Targeting Windows XP 32 DEBUG

Z:\Program Files\Microsoft Platform SDK for Windows XP SP2>cd Unreal3.2\

Z:\Program Files\Microsoft Platform SDK for Windows XP SP2\Unreal3.2>nmake -f ma
kefile.win32

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl src/win32/config.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

config.c
src/win32/config.c(77) : warning C4715: 'main' : not all control paths return a
value
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:config.exe
config.obj
        cl /MD /Zi    /J /I ./INCLUDE /Fosrc/ /nologo    /D FD_SETSIZE=16384   /
D NOSPOOF=1 /c src/version.c
version.c
        rc /l 0x409 /fosrc/win32/win32.res /i ./include /i ./src  /d NDEBUG src/
win32/win32gui.rc
        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 /debugtype:BOTH /out:WIRCD.EXE SRC/CHANNEL.OBJ SR
C/SEND.OBJ SRC/SOCKET.OBJ  SRC/S_CONF.OBJ SRC/FDLIST.OBJ SRC/DBUF.OBJ   SRC/CLOA
K.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/CHARSYS.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.OBJ SR
C/BADWORDS.OBJ SRC/WEBTV.OBJ SRC/RES.OBJ SRC/MODULES.OBJ  SRC/S_SVS.OBJ SRC/EVEN
TS.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/GUI.OBJ SRC/SERVICE.OBJ SRC/DEBUG.OBJ SRC/RTF.OBJ  SRC/EDITOR.OBJ SRC/
WIN32.OBJ SRC/win32/WIN32.RES SRC/WIN32/TRE.LIB /MAPINFO:LINES /MAP
   Creating library wircd.lib and object wircd.exp
Debug version built ...

Z:\Program Files\Microsoft Platform SDK for Windows XP SP2\Unreal3.2>

------------------------------[End Of compiling]--------------------------------


Im using an existing unrealircd.conf and its works with pre-compiled Unreal3.2.3 but it doesnt works/running with compiled Unreal3.2.3 by myself. (An original Unreal3.2.3 version). I dont know how it can be happend... Anybody can help me why my unreal/wircd.exe service (services.msc) cannot run/open?

In my compiled UnrealIRCD folder, I have a completed modules DLL (such as commands.dll, etc.), libcurl.dll, tre.dll, zlibwapi.dll, msvcrt.dll, msvcrtd.dll, msvcr70.dll, msvcr71.dll and cygwin1.dll.

I did install unreal service in services.msc. After I start this unreal service, its works, but when im trying to connect to my /server localhost or using LAN or WAN ip, its said, "Unable to connect to server (Connection refused)" after 1-3 MINUTES???? LOL, its took to long to know a result. Its listening on port 6697 and its still available but still "Unable to connect to server (Connection refused)" :?:

Then, I re-install my Windows XP SP2, and re-install all compilers. Finally, same errors still appears...

By the way, I'd already installed:-
1) PlatForm SDK
2) visual C++ 6.0
3) dlltool.exe. (Optional)
4) Cygwin. (Optional)
Those are running from Windows XP SP2. :(

Posted: Wed May 25, 2005 6:50 pm
by Stealth
You will need to be more descriptive in your problem. The compile output is far from a complete compile, and "Unable to connect" is not a very helpful error.

Try running Unreal normally (NOT as a service), and see if you get any errors when starting it, and try connecting to it.

Posted: Wed May 25, 2005 7:18 pm
by MarHazK
Stealth wrote:You will need to be more descriptive in your problem. The compile output is far from a complete compile, and "Unable to connect" is not a very helpful error.
* Unable to connect to server (Connection refused)
Stealth wrote:Try running Unreal normally (NOT as a service), and see if you get any errors when starting it, and try connecting to it.
Wircd.EXE window appears, but still show this error: * Unable to connect to server (Connection refused)

When Im shutting down my unreal service or wircd.exe window, its show this message: * [10053] Software caused connection abort

In my service.log, its show this message:
* Loading IRCd configuration ..
* Configuration loaded without any problems ..

Posted: Wed May 25, 2005 10:24 pm
by Stealth
"Connection refused" means the port is not open or a firewall is interfering. Check your windows firewall settings.

Posted: Wed May 25, 2005 11:47 pm
by MarHazK
Windows Firewall already disabled, port 6697 is available to used. Weird... My webserver and email server are online and can logged in.

* Dns resolving http://www.airchat.org
-
* Dns resolved http://www.airchat.org to 219.95.223.246

Posted: Thu May 26, 2005 1:28 am
by Michael
This sounds like you don't have the 'Listen' port within the config set properly.

Verify that it's correct within the config.

Posted: Thu May 26, 2005 1:49 am
by MarHazK
my UnrealIRCD.conf
[moderator: Do *not* post your entire config file!]

1) This unrealircd.conf works with pre-compiled UnrealIRCD (Windows and *NIX version)
2) This unrealircd.conf doesnt works with my own compiled UnrealIRCD (Windows)

Posted: Thu May 26, 2005 3:30 am
by Stealth
If you want to re-make Unreal, there are 2 ways:
  • Re-extract the source to a new folder and re-make Unreal.
  • Type

    Code: Select all

    nmake -f makefile.win32 clean
    then

    Code: Select all

    nmake -f makefile.win32
These 2 ways will completely re-compile Unreal.

Posted: Thu May 26, 2005 5:02 am
by MarHazK
Done, still got some error.. :cry:

Below I found some error or common error?? :?:

Error #1

Code: Select all

Z:\Program Files\Microsoft Platform SDK for Windows XP SP2\Unreal3.2>nmake -f makefile.win32

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl src/win32/config.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

config.c
src/win32/config.c(77) : warning C4715: 'main' : not all control paths return a
value
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:config.exe
config.obj
        cl /MD /Zi    /J /I ./INCLUDE /Fosrc/ /nologo    /D FD_SETSIZE=16384   /
D NOSPOOF=1 /c src/win32/unreal.c
unreal.c
src/win32/unreal.c(195) : warning C4715: 'main' : not all control paths return a
 value
        link advapi32.lib src/unreal.obj src/win32/unreal.res
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

        cl /MD /Zi    /J /I ./INCLUDE /Fosrc/ /nologo    /D FD_SETSIZE=16384   /
D NOSPOOF=1 /c src/channel.c
channel.c
Error #2

Code: Select all

        cl /MD /Zi    /J /I ./INCLUDE /Fosrc/ /nologo    /D FD_SETSIZE=16384   /
D NOSPOOF=1 /c src/support.c
support.c
src/support.c(723) : warning C4761: integral size mismatch in argument; conversi
on supplied
src/support.c(890) : warning C4761: integral size mismatch in argument; conversi
on supplied
src/support.c(1037) : warning C4761: integral size mismatch in argument; convers
ion supplied
src/support.c(1053) : warning C4761: integral size mismatch in argument; convers
ion supplied
        cl /MD /Zi    /J /I ./INCLUDE /Fosrc/ /nologo    /D FD_SETSIZE=16384   /
D NOSPOOF=1 /c src/list.c
list.c
Any suggestion or guide to prevent this problem... :?

Posted: Thu May 26, 2005 5:34 am
by Stealth
Those errors are not fatal and nothing to really worry about. If they were anything to worry about, they would not be called warnings.

Posted: Thu May 26, 2005 5:51 am
by MarHazK
Oh I see... hmmm, weird... How this problem can occurs...? :?:
1. UnrealIRCD compiled
2. Windows Firewall disabled.
3. Other servers such as Web server, FTP server, Email server can logged in.
4. unrealircd.conf works with pre-compiled UnrealIRCD.
5. unrealircd.conf doesnt works with my own compiled UnrealIRCd.
6. No listening (port 6697) errors.
7. No compiling errors.
8. Wircd.exe Window appears but still cannot connect.
9. Reason: Unable to connect to server (Connection refused)
10. Unreal.exe service successfully installed, but still cannot connect.
11. Takes 1-3 minutes to get a result of server connection.
12. Installed PSDK, VC++ 6.0, dlltool.exe, Cygwin (Optional), MySQL (Optional)
Did I forget something?

Posted: Thu May 26, 2005 3:28 pm
by aquanight
... VC++... 6.0?! Erh... I think that might explain a few things :P .

I would strongly suggest getting the VC++ 7.0 compiler (it's a free download, google for VC++ Toolkit), and an updated PSDK (also a free download)>

Posted: Fri May 27, 2005 7:09 am
by MarHazK
VC++ 6.0 should be works with Unreal3.2 Beta version, especially Beta 14 because I'd read compiling_win32.txt, VC+ 6.0 support that version (Not Unreal 3.2.1 or above).

When I try to compile Unreal3.2 Beta 14, it was successfully compiled but still cannot run. LOL.. I'd already update my VC++ 6.0 including compiler and installer. LOL, did I forget something?

Posted: Fri May 27, 2005 8:04 am
by Dukat
Wait a second... earlier you talked about compiling Unreal 3.2.3, now you're talking about a beta?
What exactly are you trying to compile now? :shock:

Posted: Fri May 27, 2005 3:55 pm
by Syzop
We do not support beta's. Use 3.2.3.

Beta14 was the latest version that had +I, what a coincidence, huh? ;)