Subject: Re: problem compiling libpcap
To: None <ronald@demon.net>
From: Mike Long <mikel@shore.net>
List: current-users
Date: 10/10/1997 04:42:25
>From: Ronald Khoo <ronald@demon.net>
>Date: Fri, 10 Oct 1997 09:14:18 +0100
>
>In pcap.h, it assumes that bpf_{,u_}int32 is defined by net/bpf.h
>if BPF_RELEASE < 199406.  Now, net/bpf.h is 199606, two whole years
>later, and *doesn't* define the types, and neither does it seem
>to come from an MD header.  Hence libpcap doesn't compile.
>
>Have I missed something, or do I just need to wait for tomorrow's sup ?

Whoever added the BPF_RELEASE symbol to <net/bpf.h> needs to add the
associated typedefs.  Until then, you can work around the problem by
deleting the BPF_RELASE definition from <net/bpf.h>.
-- 
Mike Long <mikel@shore.net>                http://www.shore.net/~mikel
"Every normal man must be tempted at times to spit on his hands,
hoist the black flag, and begin slitting throats." -- H.L. Mencken