Page 1 of 2
Unreal win32 compile problem??
Posted: Thu Jun 08, 2006 8:51 am
by R3M
i have extract Unreal3.2.4.tar.gz to C:\Unreal3.2 and i typed
nmake -f makefile.win32
it says me after a couple messeages
Code: Select all
src/support.c(2119) : warning C4996: 'strcpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(73) : see
declaration of 'strcpy'
Message: 'This function or variable may be unsafe. Consider using strcpy
_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online hel
p for details.'
src/support.c(2404) : error C2065: 'WSASYSCALLFAILURE' : undeclared identifier
src/support.c(2404) : error C2099: initializer is not a constant
src/support.c(2404) : warning C4047: 'initializing' : 'int' differs in levels of
indirection from 'unsigned char [20]'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.
how can i fix it?
Posted: Thu Jun 08, 2006 2:40 pm
by Ron2K
This is a known issue with MSVC 8 and versions of Unreal prior to the up-and-coming 3.2.5. It has been fixed in CVS. You can go to the downloads page and download 3.2.5-rc2 (but heed the warning and don't use it on a production network).
There's a FAQ entry on this, and if you're really interested you can search the bugtracker.
Posted: Thu Jun 08, 2006 3:40 pm
by R3M
Code: Select all
Message: 'The POSIX name for this item is deprecated. Instead, use the I
SO C++ conformant name: _close. See online help for details.'
src/support.c(1807) : warning C4996: 'unlink' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\io.h(224) : see de
claration of 'unlink'
Message: 'The POSIX name for this item is deprecated. Instead, use the I
SO C++ conformant name: _unlink. See online help for details.'
src/support.c(2404) : error C2065: 'WSASYSCALLFAILURE' : undeclared identifier
src/support.c(2404) : error C2099: initializer is not a constant
src/support.c(2404) : warning C4047: 'initializing' : 'int' differs in levels of
indirection from 'unsigned char [20]'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.
that is unreal3.2.5 rc3..How can i fix it..i can't handle it.Buf i want too much.
Posted: Thu Jun 08, 2006 5:10 pm
by MarHazK
What MSVC 8 are you using now?
Posted: Thu Jun 08, 2006 5:23 pm
by R3M
i am using Microsoft Visual C++ .NET/8 so i guess express edition
Posted: Thu Jun 08, 2006 5:26 pm
by MarHazK
Notes..
UnrealIRCD 3.2.4 doesnt support any MSVC 8
UnrealIRCD 3.2.5+ does support MSVC 8.
Read at
http://forums.unrealircd.com/viewtopic.php?t=3303 for more informations.
Posted: Thu Jun 08, 2006 6:47 pm
by R3M
where can i get it msvc 7.0 /net to succesfullt compile?
Posted: Thu Jun 08, 2006 7:08 pm
by MarHazK
Well, I bought it. Its hard to find .NET 7 now at my place even on the net.
Posted: Thu Jun 08, 2006 7:36 pm
by R3M
how much?
Posted: Fri Jun 09, 2006 6:50 am
by R3M
no i am using with latest version(.5 rc3) it gotta same problem..msvc .net sucks..i don't know how i can fix this.
Posted: Fri Jun 09, 2006 11:02 am
by Syzop
Assuming MS Visual Studio 8 w/ Unreal 3.2.5* (since that will be out soon and other free MSVS's are a pain to get):
You need the platform SDK (and after that, start the correct shell), see:
latest doc/compiling_win32.txt at time of writing (this slightly improved version of this doc is also in 3.2.5-rc*).
Posted: Fri Jun 09, 2006 6:14 pm
by R3M
so if i am compile a module which is support mysql?What should i do for it?For mysql support?
Posted: Sat Jun 10, 2006 7:40 am
by R3M
Code: Select all
File Name: File Size
PSDK-amd64.exe
1.3 MB
Download
PSDK-ia64.exe
1.4 MB
Download
PSDK-x86.exe
1.3 MB
Download
Top of page
Related Resources
1. Virtual Server 2005 R2 Evaluation Kit
2. Windows Server 2003 R2 SDK - March 2006 Edition Web Setup
3. Windows Server 2003 R2 SDK - March 2006 Edition Full Download
4. Windows Server 2003 R2 SDK - March 2006 Edition ISO Download
Top of page
What Others Are Downloading
Others who downloaded Windows® Server 2003 SP1 Platform SDK Web Install also downloaded:
1. Windows® Server 2003 R2 Platform SDK ISO Download
2. Windows® Server 2003 R2 Platform SDK Web Install
3. Windows® Server 2003 R2 Platform SDK Full Download
4. Windows® Server 2003 SP1 Platform SDK Full Download
5. Windows® Server 2003 SP1 Platform SDK ISO Install
Top of page
Related Downloads
* Windows® Server 2003 SP1 Platform SDK Full Download
* Windows® Server 2003 SP1 Platform SDK ISO Install
Which one of them?
Posted: Sat Jun 10, 2006 4:09 pm
by R3M
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.
when i used vc++ command prompt it said me
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
LINK : warning LNK4224: /MAPINFO:LINES is no longer supported; ignored
LINK : fatal error LNK1181: cannot open input file 'dbghelp.lib'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\l
ink.EXE"' : return code '0x49d'
Stop.
how can i fix it.i have already install windows psdk and vc++ 8.0..
i don't know what should i do.Please help thanks.
Posted: Sat Jun 10, 2006 6:18 pm
by MarHazK
R3M wrote:Code: Select all
File Name: File Size
PSDK-amd64.exe
1.3 MB
Download
PSDK-ia64.exe
1.4 MB
Download
PSDK-x86.exe
1.3 MB
Download
Top of page
Related Resources
1. Virtual Server 2005 R2 Evaluation Kit
2. Windows Server 2003 R2 SDK - March 2006 Edition Web Setup
3. Windows Server 2003 R2 SDK - March 2006 Edition Full Download
4. Windows Server 2003 R2 SDK - March 2006 Edition ISO Download
Top of page
What Others Are Downloading
Others who downloaded Windows® Server 2003 SP1 Platform SDK Web Install also downloaded:
1. Windows® Server 2003 R2 Platform SDK ISO Download
2. Windows® Server 2003 R2 Platform SDK Web Install
3. Windows® Server 2003 R2 Platform SDK Full Download
4. Windows® Server 2003 SP1 Platform SDK Full Download
5. Windows® Server 2003 SP1 Platform SDK ISO Install
Top of page
Related Downloads
* Windows® Server 2003 SP1 Platform SDK Full Download
* Windows® Server 2003 SP1 Platform SDK ISO Install
Which one of them?
Lol, I prefer a full downloads.