[Winpcap-users] error in sample program "Obtaining the device list"
sameer kathawate
kathawate.sameer at gmail.com
Fri Dec 4 23:41:19 PST 2009
Hi Team,
Recently i came across winpcap.org and I am learning winpcap programming
through the tutorials you provided.
I came across this linker problem. Can you please help me?
*
Compiling...
open_adapter.c
C:\Documents and Settings\sameer\Desktop\open\open_adapter.c(47) : warning
C4013: 'pcap_findalldevs_ex' undefined; assuming extern returning int
C:\Documents and Settings\sameer\Desktop\open\open_adapter.c(59) : warning
C4013: 'pcap_freealldevs' undefined; assuming extern returning int
C:\Documents and Settings\sameer\Desktop\open\open_adapter.c(126) : warning
C4013: '_snprintf_s' undefined; assuming extern returning int
C:\Documents and Settings\sameer\Desktop\open\open_adapter.c(141) : warning
C4013: 'getnameinfo' undefined; assuming extern returning int
Linking...
open_adapter.obj : error LNK2001: unresolved external symbol
_pcap_freealldevs
open_adapter.obj : error LNK2001: unresolved external symbol
_pcap_findalldevs_ex
open_adapter.obj : error LNK2001: unresolved external symbol __snprintf_s
open_adapter.obj : error LNK2001: unresolved external symbol _getnameinfo
Debug/open_adapter.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.*
--
Regards
Sameer Kathawate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20091205/69e6b3fe/attachment.htm
More information about the Winpcap-users
mailing list