[PLUG] Problem using 'libpcap'

Ashutosh Adkar ashu.adkar at gmail.com
Sat Feb 24 00:08:18 IST 2007


On 2/23/07, Kaustubh Gadkari <kaustubh.gadkari at gmail.com> wrote:
>
> <snip>
> On 2/23/07, Ashutosh Adkar <ashu.adkar at gmail.com> 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
> kaustubh.gadkari at gmail.com
> Yeah thanks man.I just yummed the libpcap-devel packages.Problem sovled.
> --
> ______________________________________________________________________
> Pune GNU/Linux Users Group Mailing List:      (plug-mail at plug.org.in)
> List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
> Send 'help' to plug-mail-request at plug.org.in for mailing instructions.
>



More information about the Plug-mail mailing list