Ethereal-users: [Ethereal-users] ethereal-0.9.6 does not configure with gcc-3.2

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

From: Juergen Rose <rose@xxxxxxxxxxxxxxxxx>
Date: 08 Sep 2002 16:36:58 +0200
Hi,

./configure  --prefix=/usr --with-ucdsnmp

stops with:

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"?

As yuo can see from config.log, the reason is that 

gcc -E  -I$(top_srcdir) -I$(top_srcdir)/wiretap -I/usr/local/include
conftest.c >/dev/null 2>conftest.out

gives the warning:

cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system
directory

That's why, ac_err=`grep -v '^ *+' conftest.out | grep -v
"^conftest.${ac_ext}\$"` is not empty.

It would be good, if you could fix this.

	Juergen