阅读:1576回复:2
DS3.2中关于S5933例子的应用问题
我的机器环境为:DS3.2,DDK2003(均是由驱动开发网VIP区下载的)。
安装好后,用Windows 2000 build Enviroment下的Build -cZ 然后在Setddkgo中选择了Win2000,进入VC6.0,编译好VdwLibs,一切顺利。 然后打开Compuware\\DriverStudio\\DriverWorks\\Example\\Daul\\s5933\\s5933.dsw 编译后出现如下提示: --------------------Configuration: S5933 - Win32 WDM Free-------------------- Compiling resources with DDK resource compiler... Compiling with DDK compiler... S5933.cpp S5933Device.cpp Generating Code... Linking with DDK linker... LINK : fatal error LNK1207: incompatible PDB format in \'C:\\Program Files\\Compuware\\DriverStudio\\DriverWorks\\Examples\\dual\\amccpci\\s5933\\sys\\objfre\\i386\\S5933.pdb\'; delete and rebuild Error executing link.exe. S5933.sys - 1 error(s), 0 warning(s) --------------------Configuration: S5933 - Win32 WDM Checked-------------------- Compiling resources with DDK resource compiler... Compiling with DDK compiler... S5933.cpp S5933Device.cpp Generating Code... Linking with DDK linker... vdw_wdm.lib(kdmqcsq.obj) : error LNK2019: unresolved external symbol _WdmlibIoCsqInsertIrp@12 referenced in function \"public: void __thiscall KCancelSafeQueue<class KCancelSafeList>::InsertIrp(struct _IRP *,struct _IO_CSQ_IRP_CONTEXT *)\" (?InsertIrp @?$KCancelSafeQueue@VKCancelSafeList@@@@QAEXPAU_IRP@@PAU_IO_CSQ_IRP_CONTEXT@@@Z) vdw_wdm.lib(kdmqcsq.obj) : error LNK2019: unresolved external symbol _WdmlibIoCsqRemoveIrp@8 referenced in function \"public: struct _IRP * __thiscall KCancelSafeQueue<class KCancelSafeList>::RemoveIrp(struct _IO_CSQ_IRP_CONTEXT *)\" (?RemoveIrp@?$KCa ncelSafeQueue@VKCancelSafeList@@@@QAEPAU_IRP@@PAU_IO_CSQ_IRP_CONTEXT@@@Z) vdw_wdm.lib(kdmqcsq.obj) : error LNK2019: unresolved external symbol _WdmlibIoCsqRemoveNextIrp@8 referenced in function \"public: struct _IRP * __thiscall KCancelSafeQueue<class KCancelSafeList>::RemoveNextIrp(void *)\" (?RemoveNextIrp@?$KCancelSafeQu eue@VKCancelSafeList@@@@QAEPAU_IRP@@PAX@Z) vdw_wdm.lib(kdmqcsq.obj) : error LNK2019: unresolved external symbol _WdmlibIoCsqInitialize@28 referenced in function \"public: __thiscall KCancelSafeQueue<class KCancelSafeList>::KCancelSafeQueue<class KCancelSafeList>(void)\" (??0?$KCancelSafeQueue@ VKCancelSafeList@@@@QAE@XZ) objchk\\i386/S5933.sys : fatal error LNK1120: 4 unresolved externals Error executing link.exe. S5933.sys - 5 error(s), 0 warning(s) 请问这是什么原因 XP的驱动我已经编译调试完成(用我自己的PCI卡),但我需要Win2k的驱动程序,难道我必须倒退会DS3.0 [编辑 - 4/20/05 by rabbitrobbin] |
|
|
沙发#
发布于:2005-04-20 21:52
后来我根据DS在线帮助上的要求屏蔽了DDK编译器,用VC编译器编译(在VC的IDE中DDK Building中设置),编译错误如下:
--------------------Configuration: S5933 - Win32 WDM Checked-------------------- Compiling resources... Compiling... S5933.cpp S5933Device.cpp Generating Code... Linking... vdw_wdm.lib(kdmqcsq.obj) : error LNK2001: unresolved external symbol _WdmlibIoCsqInsertIrp@12 vdw_wdm.lib(kdmqcsq.obj) : error LNK2001: unresolved external symbol _WdmlibIoCsqRemoveIrp@8 vdw_wdm.lib(kdmqcsq.obj) : error LNK2001: unresolved external symbol _WdmlibIoCsqRemoveNextIrp@8 vdw_wdm.lib(kdmqcsq.obj) : error LNK2001: unresolved external symbol _WdmlibIoCsqInitialize@28 objchk\\i386/S5933.sys : fatal error LNK1120: 4 unresolved externals Error executing link.exe. S5933.sys - 5 error(s), 0 warning(s) --------------------Configuration: S5933 - Win32 WDM Free-------------------- Compiling resources... Compiling... S5933.cpp S5933Device.cpp Generating Code... Linking... vdw_wdm.lib(kdmqcsq.obj) : error LNK2001: unresolved external symbol _WdmlibIoCsqInsertIrp@12 vdw_wdm.lib(kdmqcsq.obj) : error LNK2001: unresolved external symbol _WdmlibIoCsqRemoveNextIrp@8 vdw_wdm.lib(kdmqcsq.obj) : error LNK2001: unresolved external symbol _WdmlibIoCsqRemoveIrp@8 vdw_wdm.lib(kdmqcsq.obj) : error LNK2001: unresolved external symbol _WdmlibIoCsqInitialize@28 objfre\\i386/S5933.sys : fatal error LNK1120: 4 unresolved externals Error executing link.exe. S5933.sys - 5 error(s), 0 warning(s) 能否帮帮我 |
|
|
板凳#
发布于:2005-05-13 21:34
So I am
|
|