Page 1 of 1

Win32 VS C++8 Compile Error

Posted: Wed Feb 07, 2007 3:07 pm
by keta
hi, Win32 VS8 is installed, SDK ok and i'have big problem to compil unreal3.2.5


K:\dev\Unreal3.2.5>nmake -f makefile.win32

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

cl src/win32/config.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86

Copyright (C) Microsoft Corporation. All rights reserved.

config.c
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

/out:config.exe
config.obj
link /debug advapi32.lib src/unreal.obj src/win32/unreal.res
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

unreal.obj : error LNK2019: unresolved external symbol __imp__ChangeServiceConfi
gA@44 referenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__ControlService@12
referenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__StartServiceA@12 r
eferenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__DeleteService@4 re
ferenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__OpenServiceA@12 re
ferenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__CloseServiceHandle
@4 referenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__CreateServiceA@52
referenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__OpenSCManagerA@12
referenced in function _main
unreal.exe : fatal error LNK1120: 8 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\l
ink.EXE"' : return code '0x460'
Stop.

you can help me please

Posted: Wed Feb 07, 2007 3:40 pm
by Dukat
The current version is 3.2.6, please use this one.

Posted: Wed Feb 07, 2007 3:45 pm
by keta
yeah, i have test in Unreal3.2.6
and error persist :shock:

[code]
K:\dev\Unreal3.2>nmake -f makefile.win32

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

cl src/win32/config.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86

Copyright (C) Microsoft Corporation. All rights reserved.

config.c
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

/out:config.exe
config.obj
link /debug advapi32.lib src/unreal.obj src/win32/unreal.res
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

unreal.obj : error LNK2019: unresolved external symbol __imp__ChangeServiceConfi
gA@44 referenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__ControlService@12
referenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__StartServiceA@12 r
eferenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__DeleteService@4 re
ferenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__OpenServiceA@12 re
ferenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__CloseServiceHandle
@4 referenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__CreateServiceA@52
referenced in function _main
unreal.obj : error LNK2019: unresolved external symbol __imp__OpenSCManagerA@12
referenced in function _main
unreal.exe : fatal error LNK1120: 8 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\l
ink.EXE"' : return code '0x460'
Stop.
[/code]

:/

Posted: Wed Feb 07, 2007 8:06 pm
by Stealth
MSVS 8 is not supported, and is not expected to compile Unreal.

You need to find MSVS 7.x.

If you want to help the dev team get Unreal compatible with MSVS 8, post the errors on the bug tracker.

Posted: Wed Feb 07, 2007 8:15 pm
by xnemesis
Alternatively read this and look for the heading of Symbol Files. There's a solution to your error message there http://www.vulnscan.org/unrealwin32dev/ ... _win32.txt

Posted: Fri Feb 09, 2007 4:52 pm
by keta
yeah, have test this and look the results

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

cl src/win32/def-clean.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86

Copyright (C) Microsoft Corporation. All rights reserved.

def-clean.c
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

/out:def-clean.exe
def-clean.obj
dlltool --output-def wircd.def.in --export-all-symbols 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/CHARSYS.OBJ SRC/VERSION.OBJ SRC/S_KLINE
.OBJ SRC/S_EXTRA.OBJ SRC/IRCSPRINTF.OBJ SRC/LUSERS.OBJ SRC/SCACHE.OBJ SRC/ALN.O
BJ SRC/RES.OBJ SRC/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
C:\WINDOWS\system32\dlltool.EXE: Unable to open object file: SRC/CHANNEL.OBJ
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\dlltool.EXE' : return code '0x1'

Stop.

Posted: Sun Feb 18, 2007 11:18 am
by wax
steps:
1) nmake -f makefile.win32
2) nmake -f makefile.win32 SYMBOLFILE
3) nmake -f makefile.win32