阅读:2411回复:2
DS example build problem
I have a problem. When I tried to build the HelloWdm.sys in DS 3.1 example, I got some "linking" issues as below,
_______________________________________________________ HelloDev.cpp Generating Code... Compiling resources... Linking... vdw_wdm.lib(kevent.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(kmutex.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(klower.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(kustring.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(ktrace.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(kchecker.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(kdevice.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(kregkey.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler HelloDev.obj : error LNK2019: unresolved external symbol ___CxxFrameHandler referenced in function __ehhandler$??0SimpleWdmDevice@@QAE@PAU_DEVICE_OBJECT@@K@Z HelloWdm.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(kpnpdev.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(kpnplow.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler vdw_wdm.lib(kdevice.obj) : error LNK2019: unresolved external symbol ___security_cookie referenced in function "public: long __thiscall KDevice::CreateLink(unsigned short const *,unsigned char)" (?CreateLink@KDevice@@QAEJPBGE@Z) vdw_wdm.lib(kregkey.obj) : error LNK2001: unresolved external symbol ___security_cookie vdw_wdm.lib(kustring.obj) : error LNK2001: unresolved external symbol ___security_cookie vdw_wdm.lib(kdevice.obj) : error LNK2019: unresolved external symbol @__security_check_cookie@4 referenced in function "public: long __thiscall KDevice::CreateLink(unsigned short const *,unsigned char)" (?CreateLink@KDevice@@QAEJPBGE@Z) vdw_wdm.lib(kregkey.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 vdw_wdm.lib(kustring.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4 LINK : error LNK2001: unresolved external symbol __load_config_used .objchki386HelloWdm.sys : fatal error LNK1120: 4 unresolved externals _______________________________________________________ Anyone knows how to solve it? Sorry I have to type English because I don't have simpfied Chinese system on my computer. However you could reply me in English or Chinese. Thanks very much. PS. I used DDK-XP, .Net 2003, OS is XP with sp2. |
|
沙发#
发布于:2005-01-10 09:35
maybe you did not bulid vdwlibs.dsw.
|
|
板凳#
发布于:2005-08-09 09:27
在属性页中,C C++文件夹的代码生成中取消缓冲区安全检查
|
|