markdd
驱动牛犊
驱动牛犊
  • 注册日期2001-08-02
  • 最后登录
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1361回复:2

pci驱动程序编译时出现的问题

楼主#
更多 发布于:2001-11-22 09:48
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) void __stdcall RtlCopyUnicodeString(struct _UNICODE_STRING *,struct _UNICODE_STRING *)\" (__imp_?RtlCopyUnicodeString@@YGXPAU_UNICODE_STRING@@0@Z)
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) void * __stdcall ExAllocatePoolWithTag(enum _POOL_TYPE,unsigned long,unsigned long)\" (__imp_?ExAllocatePoolWithTag@@YGPAXW4_POOL_TYPE@@KK@Z)
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) unsigned char __stdcall IoIsWdmVersionAvailable(unsigned char,unsigned char)\" (__imp_?IoIsWdmVersionAvailable@@YGEEE@Z)
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) void __stdcall RtlFreeUnicodeString(struct _UNICODE_STRING *)\" (__imp_?RtlFreeUnicodeString@@YGXPAU_UNICODE_STRING@@@Z)
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) void __stdcall IoDeleteDevice(struct _DEVICE_OBJECT *)\" (__imp_?IoDeleteDevice@@YGXPAU_DEVICE_OBJECT@@@Z)
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) void __stdcall IoDetachDevice(struct _DEVICE_OBJECT *)\" (__imp_?IoDetachDevice@@YGXPAU_DEVICE_OBJECT@@@Z)
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) void __stdcall IoDisconnectInterrupt(struct _KINTERRUPT *)\" (__imp_?IoDisconnectInterrupt@@YGXPAU_KINTERRUPT@@@Z)
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) long __stdcall IoDeleteSymbolicLink(struct _UNICODE_STRING *)\" (__imp_?IoDeleteSymbolicLink@@YGJPAU_UNICODE_STRING@@@Z)
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) void __stdcall RtlInitUnicodeString(struct _UNICODE_STRING *,unsigned short const *)\" (__imp_?RtlInitUnicodeString@@YGXPAU_UNICODE_STRING@@PBG@Z)
driverentry.obj() : error LNK2001: unresolved external symbol \"__declspec(dllimport) struct _DEVICE_OBJECT * __stdcall IoAttachDeviceToDeviceStack(struct _DEVICE_OBJECT *,struct _DEVICE_OBJECT *)\" (__imp_?IoAttachDeviceToDeviceStack@@YGPAU_DEVICE_OB
JECT@@PAU1@0@Z)
wo kao
dazzy
驱动中牛
驱动中牛
  • 注册日期2001-03-23
  • 最后登录2008-08-12
  • 粉丝1
  • 关注0
  • 积分0分
  • 威望10点
  • 贡献值1点
  • 好评度10点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-11-22 13:21
你的程序的原文件是以cpp为后缀的吗?
LitteSW
驱动中牛
驱动中牛
  • 注册日期2001-06-10
  • 最后登录2010-08-16
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望1点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2001-11-23 01:08
使用DEBUG或RELEASE方式编译,不要使用UNICODE方式编译。

穿梭于都市高楼之间,总是孜孜不倦地追寻着自由,蓦然回首,去发现已陷入深深的枷锁之中
游客

返回顶部