Within your project settings, you need to link to wpcap.lib
If you are using the wpdpack it is in the lib directory
This can be done explicitly in the Linker input options or through a #pragma
comment(lib, "winpcap.lib")
If you use the later, you will need to ensure that the path to wpdpack\lib
is included in your IDE settings.

Kirby Kuehl


-----Original Message-----
From: Jesse James [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 4:58 AM
To: [EMAIL PROTECTED]
Subject: [WinPcap-users] Working with WinPCap and Dev-C++


I'm working with the winpcap development kit on Dev-C++, and I'm hoping 
someone else has done this, as I'm getting nothing but problems.

I'm trying to compile the tcptop sample program, but I'm getting a 
string of "undefined references" to pcap_open_live, pcap_compile, 
pcap_setfilter, etc.. This is during linking, so I'm pretty sure that I 
don't have the DLL anywhere... I went and looked, and sure enough, 
there's no DLL anywhere in the wpdpack tree...

I'm sure this is a setup problem that I'm having with Dev-C, but any 
help would be appreciated.

Thanks!



==================================================================
 This is the WinPcap users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================



================================================================= This is the WinPcap 
users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use
 mailto: [EMAIL PROTECTED]
=================================================================

Reply via email to