Ethereal-users: [Ethereal-users] compiling errors

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

From: Dave Aitel <dave@xxxxxxxxxxxxxxx>
Date: Thu, 23 Jan 2003 08:59:38 -0500
something appears wrong with my CVS'd version of ethereal on a Mandrake
9.0 box with the libpcap developer packages installed, etc etc.

I've run autogen and here is my configure:
checking for net/bpf.h... no
configure: error: Header file net/bpf.h not found; if you installed
libpcap
from source, did you also do "make install-incl", and if you installed a
binary package of libpcap, is there also a developer's package of
libpcap,
and did you also install that package?

I actually DO have bpf.h, in /usr/include, but it won't compile all by
itself since u_int isn't defined.

[dave@www ethereal]$ gcc -o bob bob.c
In file included from bob.c:1:
/usr/include/net/bpf.h:49: parse error before "bpf_u_int32"

I've compiled previous versions of ethereal just fine. I'm wondering 
For example, for my .9.7 install the configuration file has this:
#line $LINENO "configure"
#include "confdefs.h"
$ac_includes_default
#include <net/bpf.h>

In CVS I don't think it has the $ac_includes_default, or for some reason
it isn't using it.

-dave