Did you add the wpdpack include and lib directory in your Visual studio project as explained here:
http://www.winpcap.org/docs/docs_411/html/group__wpcapsamps.html ? Have a nice day GV ----- Original Message ----- From: sameer kathawate To: [email protected] Sent: Friday, December 04, 2009 11:41 PM Subject: [Winpcap-users] error in sample program "Obtaining the device list" 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 ------------------------------------------------------------------------------ _______________________________________________ Winpcap-users mailing list [email protected] https://www.winpcap.org/mailman/listinfo/winpcap-users
_______________________________________________ Winpcap-users mailing list [email protected] https://www.winpcap.org/mailman/listinfo/winpcap-users
