tcpdump mailing list archives

Re: tcpdump 4.0.0rc3 and libpcap 1.0.0rc3 now available


From: Ken Bantoft <ken () netfunctional ca>
Date: Mon, 27 Oct 2008 21:56:11 -0400

On 27-Oct-08, at 9:28 PM, Michael Richardson wrote:


I tried building the library before signing it:

marajade-[Misc/tcpdump/4.0/libpcap-1.0.0] mcr 1039 %make
gcc -O2 -fPIC -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" - c ./pcap-linux.c
./pcap-linux.c: In function 'pcap_read_packet':
./pcap-linux.c:653: error: invalid application of 'sizeof' to incomplete type 'struct tpacket_auxdata'

Looks like guy just fixed it with a quick patch for pcap-linux.c

I've tested his fixed on Debian 3.1, CentOS 4.x and Ubuntu 8.04 and it builds completely now.

I've replaced the tarballs in beta/ with new ones that include the fix.

Ken

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: