tcpdump mailing list archives
Re: Problem with libpcap
From: Guy Harris <guy () alum mit edu>
Date: Sat, 5 Dec 2009 12:30:14 -0800
On Dec 2, 2009, at 4:57 AM, Noro Hasina wrote:
hello!I'm going to install snort2.8 but it depends on libpcap. So I try to installit but it doesn't work this is the error : gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-linux.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-usb-linux.c gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./fad-getad.cIn file included from ./fad-getad.c:67: /usr/include/linux/ if_packet.h:52:error: expected specifier-qualifier-list before '__u32' make: *** [fad-getad.o] Error 1 Could you help me please
On which version of which Linux distribution are you trying to compile libpcap?
Note also that your distribution probably has a package (RPM, dpkg, Gentoo package, Slackware package, etc.) for libpcap; if so, you should be able to install libpcap from that package (and your distribution might even have a package for Snort).
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Problem with libpcap Noro Hasina (Dec 05)
- Re: Problem with libpcap Guy Harris (Dec 05)