阅读:676回复:1
求救关于驱动编译的问题
本菜鸟在开发usb驱动的过程中,遇到了以下问题,请各位帮助,先谢谢了。
在编译驱动程序的输出结果中有以下错误提示: power.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) long __stdcall PoCallDriver(struct _DEVICE_OBJECT *,struct _IRP *)\" (__imp_?PoCallDriver@@YGJPAU_DEVICE_OBJECT@@PAU_IRP@@@Z) power.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) void __stdcall PoStartNextPowerIrp(struct _IRP *)\" (__imp_?PoStartNextPowerIrp@@YGXPAU_IRP@@@Z) power.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) long __stdcall PoRequestPowerIrp(struct _DEVICE_OBJECT *,unsigned char,union _POWER_STATE,void (__stdcall*)(struct _DEVICE_OBJECT *,unsigned char,union _POWER_STATE,void *,struct _IO_STATUS_BLOCK *),void *,struct _IRP * *)\" (__imp_?PoRequestPowerIrp@@YGJPAU_DEVICE_OBJECT@@ET_POWER_STATE@@P6GX0E1PAXPAU_IO_STATUS_BLOCK@@@Z2PAPAU_IRP@@@Z) power.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) unsigned char __stdcall KeGetCurrentIrql(void)\" (__imp_?KeGetCurrentIrql@@YGEXZ) |
|
沙发#
发布于:2003-05-20 02:08
没有连接WDM.LIB吧
|
|