Ethereal-users: [Ethereal-users] Where is bpf_config?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Michael Wyatt <wyatt@xxxxxxxxxx>
Date: Wed, 18 Aug 2004 00:43:59 -0400

Hi,

I'm trying to compile libpcap-0.8.3 on AIX 4.3.3 but am running into problems.  

I read in an earlier post here that to get Ethereal to work on AIX, libpcap needed to be configure to use --with-pcap=bpf and then recompile libpcap and ethereal.  So, I've downloaded the source for libpcap-0.8.3 and ran configure as such:

./configure --with-pcap=bpf

Seems to work fine.  However, when I type make I get the following error:

        cc -O -I.  -I/usr/local/include -DHAVE_CONFIG_H  -D_U_="" -c ./pcap-bpf.c
"./pcap-bpf.c", line 356.16: 1506-007 (S) "struct bpf_config" is undefined.
make: 1254-004 The error code from the last command is 1.


Stop.


I've tried to find a bpf.h file that include the bpf_config struct but no luck.  Tried using google to find some reference to bpf_config but nothing helpful there either.

Anyone gotten this to work on AIX 4.3.3. and know where I can find the right header file?

Thanks,
michael