zhaozy1982
驱动牛犊
驱动牛犊
  • 注册日期2005-03-27
  • 最后登录2010-01-20
  • 粉丝0
  • 关注0
  • 积分9分
  • 威望60点
  • 贡献值0点
  • 好评度55点
  • 原创分0分
  • 专家分0分
40楼#
发布于:2005-05-17 23:23
我安装的顺序应该没有问题呀,是按照VC+DDK+DS
估计是编译程序的时候改定义把什么东西改变了

那我再试试吧,重装一下,1)VC,2)DDK,3)DS
^_^
zhaozy1982
驱动牛犊
驱动牛犊
  • 注册日期2005-03-27
  • 最后登录2010-01-20
  • 粉丝0
  • 关注0
  • 积分9分
  • 威望60点
  • 贡献值0点
  • 好评度55点
  • 原创分0分
  • 专家分0分
41楼#
发布于:2005-05-18 18:28
已经重装了环境,batch build里面已经rebuild all,但是还是出现了上面的错误,而且加入了ndis.lib,还是不行
Ndis.lib一共有两个,一个是C:\\NTDDK\\libchk\\i386,另一个是C:\\NTDDK\\libfre\\i386
我在library files当中的directories:里面把上面的两个路径都加入了,而且在object/library modules:里面加入了ndis.lib
为什么还是出现这样的错误呢?

--------------------Configuration: 8139 - Win32 Debug--------------------
Linking...
driver.obj : error LNK2001: unresolved external symbol __imp__NdisTerminateWrapper
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMRegisterMiniport
driver.obj : error LNK2001: unresolved external symbol __imp__NdisInitializeWrapper
driver.obj : error LNK2001: unresolved external symbol __imp__IoDeleteDevice
ioctrl.obj : error LNK2001: unresolved external symbol __imp__IoDeleteDevice
driver.obj : error LNK2001: unresolved external symbol __imp__IoCreateSymbolicLink
driver.obj : error LNK2001: unresolved external symbol _DbgPrint
driver.obj : error LNK2001: unresolved external symbol __imp__IoCreateDevice
driver.obj : error LNK2001: unresolved external symbol __imp__RtlInitUnicodeString@8
ioctrl.obj : error LNK2001: unresolved external symbol __imp__RtlInitUnicodeString@8
driver.obj : error LNK2001: unresolved external symbol __chkesp
ioctrl.obj : error LNK2001: unresolved external symbol __chkesp
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMAllocateMapRegisters
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMRegisterInterrupt
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMRegisterIoPortRange
driver.obj : error LNK2001: unresolved external symbol __imp__NdisWritePciSlotInformation
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMSetAttributesEx
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMPciAssignResources
driver.obj : error LNK2001: unresolved external symbol __imp__NdisReadPciSlotInformation
driver.obj : error LNK2001: unresolved external symbol __imp__NdisAllocateMemoryWithTag
driver.obj : error LNK2001: unresolved external symbol __imp__WRITE_PORT_ULONG
driver.obj : error LNK2001: unresolved external symbol __imp__READ_PORT_UCHAR
driver.obj : error LNK2001: unresolved external symbol __imp__NdisQueryBuffer
driver.obj : error LNK2001: unresolved external symbol __imp__NDIS_BUFFER_TO_SPAN_PAGES
driver.obj : error LNK2001: unresolved external symbol __imp__NdisQueryBufferOffset
driver.obj : error LNK2001: unresolved external symbol __imp__WRITE_PORT_USHORT
driver.obj : error LNK2001: unresolved external symbol __imp__READ_PORT_USHORT
driver.obj : error LNK2001: unresolved external symbol __imp__NdisFreeMemory
driver.obj : error LNK2001: unresolved external symbol __imp__NdisFreeBufferPool
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMFreeSharedMemory
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMDeregisterInterrupt
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMFreeMapRegisters
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMDeregisterIoPortRange
driver.obj : error LNK2001: unresolved external symbol __imp__WRITE_PORT_UCHAR
driver.obj : error LNK2001: unresolved external symbol __imp__NdisAllocateBuffer
driver.obj : error LNK2001: unresolved external symbol __imp__NdisAllocatePacket
driver.obj : error LNK2001: unresolved external symbol __imp__NdisAllocateBufferPool
driver.obj : error LNK2001: unresolved external symbol __imp__NdisAllocatePacketPool
driver.obj : error LNK2001: unresolved external symbol __imp__NdisMAllocateSharedMemory
driver.obj : error LNK2001: unresolved external symbol __imp__READ_PORT_ULONG
driver.obj : error LNK2001: unresolved external symbol _NdisAdjustBufferLength
ioctrl.obj : error LNK2001: unresolved external symbol __imp_@IofCompleteRequest@8
ioctrl.obj : error LNK2001: unresolved external symbol __imp__IoDeleteSymbolicLink
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/8139.exe : fatal error LNK1120: 41 unresolved externals
Error executing link.exe.

8139.exe - 45 error(s), 0 warning(s)

bmyyyud
驱动老牛
驱动老牛
  • 注册日期2002-02-22
  • 最后登录2010-01-21
  • 粉丝0
  • 关注0
  • 积分1000分
  • 威望130点
  • 贡献值0点
  • 好评度106点
  • 原创分0分
  • 专家分0分
42楼#
发布于:2005-05-19 11:37
请先用sources转vcprj这个转工程
滚滚长江东逝水 浪花淘尽英雄 是非成败转头空 青山依旧在 几度夕阳红 白发渔樵江渚上 惯看秋月春风 一壶浊酒喜相逢 古今多少事 尽付笑谈中
zhaozy1982
驱动牛犊
驱动牛犊
  • 注册日期2005-03-27
  • 最后登录2010-01-20
  • 粉丝0
  • 关注0
  • 积分9分
  • 威望60点
  • 贡献值0点
  • 好评度55点
  • 原创分0分
  • 专家分0分
43楼#
发布于:2005-05-22 23:17
好像是我的VC编译环境有问题,我直接新建一个MFC APPWIZARD(EXE)就会出现下面的错误

--------------------Configuration: 11 - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
11.cpp
MainFrm.cpp
11Doc.cpp
11View.cpp
Generating Code...
Linking...
11.obj : error LNK2001: unresolved external symbol __chkesp
MainFrm.obj : error LNK2001: unresolved external symbol __chkesp
11Doc.obj : error LNK2001: unresolved external symbol __chkesp
11View.obj : error LNK2001: unresolved external symbol __chkesp
Debug/11.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

11.exe - 5 error(s), 0 warning(s)
上一页 下一页
游客

返回顶部