Ethereal-users: Re: [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: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 17 Aug 2004 23:35:34 -0700
Michael Wyatt wrote:

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.

Is there a "/usr/include/net/bpf.h" file on your system?

If so, does it have an indication that it comes from AIX, or is it one that might have been installed by libpcap?

If it looks as if it came from AIX, does it define "struct bpf_config", or does any of the header files it includes (or any they include, etc.), define "struct bpf_config"?

If so, is there also a "bpf.h" in "/usr/local/include", and does it define "struct bpf_config"?