[Winpcap-users] Problems compiling PacketCE for WIN CE 4.2 (Pocket PC 2003 SDK)

Lackner Günther guenther.lackner at iaik.tugraz.at
Tue Oct 4 08:43:22 GMT 2005


Hi!

I would like to compile the Win CE Version of winpcap. I use eMbedded Visual
C++ 4 (SP4, Pocket Pc 2003 SDK, iPAQ hx4700).
When I try to buld the projects I get a row of warnings while compiling, and
a lot of errors while linking:

****************************************************************************
**********************************************
Linking...
   Creating library ARMV4Rel/Driver.lib and object ARMV4Rel/Driver.exp
Openclose.obj : error LNK2019: unresolved external symbol NdisOpenAdapter
referenced in function PKTOpenAdapter Openclose.obj : error LNK2019:
unresolved external symbol NdisFreePacketPool referenced in function
PKTOpenAdapter Openclose.obj : error LNK2019: unresolved external symbol
NdisAllocateBufferPool referenced in function PKTOpenAdapter Openclose.obj :
error LNK2019: unresolved external symbol NdisAllocatePacketPool referenced
in function PKTOpenAdapter Openclose.obj : error LNK2019: unresolved
external symbol NdisFreeMemory referenced in function PKTOpenAdapter
Packet.obj : error LNK2019: unresolved external symbol NdisFreeMemory
referenced in function PKT_Init Openclose.obj : error LNK2019: unresolved
external symbol NdisAllocateMemory referenced in function PKTOpenAdapter
Packet.obj : error LNK2019: unresolved external symbol NdisAllocateMemory
referenced in function PKT_Init Openclose.obj : error LNK2019: unresolved
external symbol NdisFreeBufferPool referenced in function PKTFreeResources
Openclose.obj : error LNK2019: unresolved external symbol NdisCloseAdapter
referenced in function PKTCloseAdapter Packet.obj : error LNK2019:
unresolved external symbol NdisRegisterProtocol referenced in function
PKT_Init Packet.obj : error LNK2019: unresolved external symbol
NdisDeregisterProtocol referenced in function PKT_Deinit Read.obj : error
LNK2019: unresolved external symbol NdisFreePacket referenced in function
PacketReceive Write.obj : error LNK2001: unresolved external symbol
NdisFreePacket Read.obj : error LNK2019: unresolved external symbol
NdisFreeBuffer referenced in function PacketReceive Write.obj : error
LNK2001: unresolved external symbol NdisFreeBuffer Read.obj : error LNK2019:
unresolved external symbol NdisAllocatePacket referenced in function
PacketReceive Write.obj : error LNK2001: unresolved external symbol
NdisAllocatePacket Read.obj : error LNK2019: unresolved external symbol
NdisAllocateBuffer referenced in function PacketReceive Write.obj : error
LNK2001: unresolved external symbol NdisAllocateBuffer Write.obj : error
LNK2019: unresolved external symbol NdisUnchainBufferAtFront referenced in
function PacketWriteComplete ARMV4Rel/Driver.dll : fatal error LNK1120: 15
unresolved externals Error executing link.exe.
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\ARMV4\ceddk.h(45): Could not find the file macwin32.h.
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\ARMV4\ceddk.h(45): Could not find the file macwin32.h.
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\ARMV4\ceddk.h(45): Could not find the file macwin32.h.
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\ARMV4\ceddk.h(45): Could not find the file macwin32.h.
C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Include\ARMV4\ceddk.h(45): Could not find the file macwin32.h.

Driver.dll - 22 error(s), 70 warning(s)
****************************************************************************
**********************************************

Did somebody already build it for windows CE 4.2, then PLEASE HELP ME ;-)

Best regards
lackyg



More information about the Winpcap-users mailing list