[libdnet-devel] Lidnet linking errors
Status: Abandoned
Brought to you by:
dugsong
|
From: Zahy Abou-A. <zah...@gm...> - 2006-06-29 14:10:54
|
Hello, I just started developing using Libnet Libdnet and Winpcap, using WinXP I am trying to use Libnet in order to find the MAC address of the next hop on the path to another machine. My problems are in compiling the project. Firstly, i would get errors for the uint16_t and other typdefs which are used in icmp.h so i defined them using: typedef unsigned char uint8_t; typedef unsigned short uint16_t; etc ... did i have to do this? Then when those syntax errors were resolved, i compiled again but i got these errors: error LNK2019: unresolved external symbol _arp_close referenced in function _main error LNK2019: unresolved external symbol _arp_get referenced in function _main for each reference i made to an arp function... Im also using the libdnet win32 developers pack which provides dnet.lib. Shouldnt this be enough? what am i missing? Thanks for your help! Zahy |