<snip>
On 2/23/07, Ashutosh Adkar <[EMAIL PROTECTED]> wrote:
I tried writing a compiling a small program that uses the libpcap
library.But I got the following errors on compiling

ldev.c:12:52: error: linux/pcap.h: No such file or directory
ldev.c: In function 'main':
ldev.c:24: error: 'PCAP_ERRBUF_SIZE' undeclared (first use in this function)
ldev.c:24: error: (Each undeclared identifier is reported only once
ldev.c:24: error: for each function it appears in.)
</snip>

It seems you're missing the libpcap development headers.

K



--
Kaustubh Gadkari
[EMAIL PROTECTED]

--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to