tcpdump mailing list archives

Re: compilation errors in pcap.h


From: Guy Harris <gharris () sonic net>
Date: Sun, 9 Feb 2003 12:17:06 -0800

On Sun, Feb 09, 2003 at 02:32:23AM -0800, John Fastabend wrote:
Just a thought but you probably need 

gcc filename -lpcap

instead of just

gcc filename

That will not help with the problem they're seeing - that changes what
happens at link time (it causes the program to be linked with libpcap),
but the problems they're seeing are showing up before link time (they're
compile-time problems). 

They need to do that anyway, as they want to link with libpcap, but
doing that won't fix the particular problem they're having now.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: