Win32 VS C++8 Compile Error

These are old archives. They are kept for historic purposes only.
Post Reply
keta
Posts: 3
Joined: Wed Feb 07, 2007 3:03 pm

Win32 VS C++8 Compile Error

Post by keta » Wed Feb 07, 2007 3:07 pm

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

Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat » Wed Feb 07, 2007 3:40 pm

The current version is 3.2.6, please use this one.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins

keta
Posts: 3
Joined: Wed Feb 07, 2007 3:03 pm

Post by keta » Wed Feb 07, 2007 3:45 pm

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]

:/

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Wed Feb 07, 2007 8:06 pm

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.

xnemesis
Posts: 7
Joined: Sun Feb 04, 2007 9:36 pm

Post by xnemesis » Wed Feb 07, 2007 8:15 pm

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

keta
Posts: 3
Joined: Wed Feb 07, 2007 3:03 pm

Post by keta » Fri Feb 09, 2007 4:52 pm

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.

wax
Posts: 72
Joined: Tue Oct 04, 2005 6:32 am
Location: ByNets@Belarus
Contact:

Post by wax » Sun Feb 18, 2007 11:18 am

steps:
1) nmake -f makefile.win32
2) nmake -f makefile.win32 SYMBOLFILE
3) nmake -f makefile.win32

Post Reply