[M3devel] new problem linking on NT386
Randy Coleburn
rcoleburn at scires.com
Tue May 6 03:01:10 CEST 2008
I've rebuild my cm3 system using the latest sources.
I am now having a failure linking certain programs that used to build without problems.
I've listed the linker output from one of the programs below. The issue seems to be an unresolved external symbol _WinMain at 16 .
Any ideas on what has changed and how to get this working again?
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
/out:CV_MessageTool.exe
/subsystem:windows
/entry:WinMainCRTStartup
/nodefaultlib
/debug
/incremental:no
/opt:ref
/delayload:wsock32.dll
/delayload:advapi32.dll
/delayload:gdi32.dll
/delayload:netapi32.dll
/delayload:user32.dll
/delayload:comctl32.dll
delayimp.lib
_m3main.obj
iconRes.obj
Resources.io
Resources.mo
Main.mo
C:\cm3\pkg\windowsResources\NT386\windowsResources.lib
C:\cm3\pkg\libSciRes3\NT386\libSciRes3.lib
C:\cm3\pkg\stable\NT386\stable.lib
C:\cm3\pkg\serial2\NT386\serial2.lib
C:\cm3\pkg\netobj\NT386\m3netobj.lib
C:\cm3\pkg\parseparams\NT386\m3parseparams.lib
C:\cm3\pkg\formsvbt\NT386\m3formsvbt.lib
C:\cm3\pkg\videovbt\NT386\videovbt.lib
C:\cm3\pkg\jvideo\NT386\jvideo.lib
C:\cm3\pkg\web\NT386\web.lib
C:\cm3\pkg\tcp\NT386\m3tcp.lib
C:\cm3\pkg\formsvbtpixmaps\NT386\m3formsvbtpixmaps.lib
C:\cm3\pkg\vbtkit\NT386\m3vbtkit.lib
C:\cm3\pkg\ui\NT386\m3ui.lib
C:\cm3\pkg\libm3\NT386\m3.lib
C:\cm3\pkg\m3core\NT386\m3core.lib
winspool.lib
comctl32.lib
wsock32.lib
comdlg32.lib
netapi32.lib
gdi32.lib
user32.lib
advapi32.lib
kernel32.lib
msvcrt.lib
LINK : warning LNK4199: /DELAYLOAD:wsock32.dll ignored; no imports found from wsock32.dll
LINK : warning LNK4199: /DELAYLOAD:advapi32.dll ignored; no imports found from advapi32.dll
LINK : warning LNK4199: /DELAYLOAD:gdi32.dll ignored; no imports found from gdi32.dll
LINK : warning LNK4199: /DELAYLOAD:netapi32.dll ignored; no imports found from netapi32.dll
LINK : warning LNK4199: /DELAYLOAD:user32.dll ignored; no imports found from user32.dll
LINK : warning LNK4199: /DELAYLOAD:comctl32.dll ignored; no imports found from comctl32.dll
msvcrt.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain at 16 referenced in function ___tmainCRTStartup
CV_MessageTool.exe : fatal error LNK1120: 1 unresolved externals
Regards,
Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080505/9da744b1/attachment-0001.html>
More information about the M3devel
mailing list