Ethereal-users: Re: [Ethereal-users] RE: Analyzing Cisco HDLC

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 12 Aug 2004 02:12:42 -0700
On Wed, Aug 11, 2004 at 11:38:18PM -0700, Talbert, Britt USA wrote:
> I am adding a function to my program using the above functions (and your
> earlier reply), however I keep getting an "undefined reference to
> 'pcap_open_dead'" error when I try to compile it.  I have included
> the #include <pcap.h> line,

That's not enough for routines that are in a library of their own.

> but I must be missing something?

"-lpcap" on the compiler command line, if this is UN*X (and something
equivalent, with "wpcap", if this is Windows).