Date: Wed, 27 Dec 2000 23:48:35 -0500 From: Wesley Eddy <weddy@masaka.cs.ohiou.edu> Subject: Re: problems compiling Message-ID: <20001227234835.A9243@masaka.cs.ohiou.edu>
On Wed, Dec 27, 2000 at 04:52:21PM -0800, Chris Young wrote:
> Please advise as to how to proceed -
>
> I get the following errors when trying to compile on Red Hat Linux 2.2.14-5.0.
>
> 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
This is a known problem with tcptrace on Redhat. The libpcap that comes with
Redhat uses bpf_timevals instead of timevals like tcptrace expects causing
compilation errors. The fix is to replace your libpcap with one a little
less modified than the Redhat one.
-Wes
This archive was generated by hypermail 2b30 : 01/09/01 EST