Re: Form data from the Web

From: Wesley Eddy (
Date: 12/21/00

Date: Thu, 21 Dec 2000 14:07:13 -0500
From: Wesley Eddy <>
Subject: Re: Form data from the Web
Message-ID: <>

On Tue, Dec 19, 2000 at 10:40:27AM -0500, Nobody wrote:
> problem:
> During the make(compile), I get the following error:
> tcpdump.c: In function `pread_tcpdump':
> tcpdump.c:179: incompatible types in assignment
> tcpdump.c: In function `PcapSavePacket':
> tcpdump.c:314: incompatible types in assignment
> make: *** [tcpdump.o] Error 1

We've had a couple reports of this compilation problem on Redhat systems now.
Both of the lines which gcc is rejecting are assignments of what should be
timevals to timevals. I'm betting that this is yet another problem caused by
there being seven hundred libpcaps out there, and the one that Redhat includes
is probably broken in that the ts element of a struct pcap_pkthdr isn't a
timeval. Not having a Redhat system to look at the pcap.h though, I don't know.
One solution may be to try another libpcap. I know the Linux-Mandrake one
works fine, so going to one of their mirrors and getting a new libpcap RPM may
be all it takes to fix.


This archive was generated by hypermail 2b30 : 01/09/01 EST