www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Problem with COFF library

Hello all,
I try to link with Microsoft supplied library.
I'm using modified OpenWatcom wlink from Christof Meerwald with followin=
g  =

response file:

file test.obj
libpath d:\dm\lib;f:\ntdll
lib kernel32.lib,ntdll.lib,phobos.lib,snn.lib
format windows nt

But it complains abount unresolved symbols:
Error! E2028: __imp__GetTickCount 0 is an undefined reference
Error! E2028: __imp__WriteConsoleA 20 is an undefined reference
Error! E2028: __imp__SetUnhandledExceptionFilter 4 is an undefined  =

reference
Error! E2028: __imp__WideCharToMultiByte 32 is an undefined reference
Error! E2028: __imp__GetStringTypeA 20 is an undefined reference
Error! E2028: __imp__SetConsoleCtrlHandler 8 is an undefined reference
creating a PE executable
file snn.lib(..\win32\semlock.c): undefined symbol __imp__GetTickCount 0=

file snn.lib(..\win32\w32fater.c): undefined symbol __imp__WriteConsoleA=
 20
file snn.lib(..\core\except.cpp): undefined symbol  =

__imp__SetUnhandledExceptionFilter 4
file snn.lib(..\core\wctomb.c): undefined symbol  =

__imp__WideCharToMultiByte 32
file snn.lib(..\CORE\ISMBDIGI.C): undefined symbol __imp__GetStringTypeA=
 20
file snn.lib(..\core\signal.c): undefined symbol  =

__imp__SetConsoleCtrlHandler 8
file snn.lib(..\core\isctype.c): undefined symbol __imp__GetStringTypeA =
20

I checked with filemon and wlink definetelly looks at digitalmars' versi=
on  =

of kernel32.lib.
I searched the archives but didn't find anything useful.
Can anyone give me insight of what's happening and how can be fixed?

Best regards,
Todor Totev
Dec 26 2005