Date: Tue, 9 Jan 2001 14:32:13 -0500 From: Wesley Eddy <firstname.lastname@example.org> Subject: red hat fix Message-ID: <20010109143213.A9552@masaka.cs.ohiou.edu>
Well, I've managed to build tcptrace on a Redhat system WITH the silly
libpcap they include. It's actually very easy.
The trick is to change the two assignments the compiler doesn't like
in tcpdump.c into four assignments. See the problem is that you can't
assign a bpf_timeval to a timeval, even though they're the exact same
thing. So if you have:
something = something_else;
is a no-no, but,
something.tv_sec = something_else.tv_sec;
something.tv_usec = something_else.tv_usec;
works just fine.
It's kind of a stupid fix, but it does work.
This archive was generated by hypermail 2b30 : 01/09/01 EST