Ethereal-dev: [Ethereal-dev] 0.10.2 build failure on Mac OS X: this is really weird ...

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

Date: Mon, 1 Mar 2004 01:01:39 -0800

... I'm not missing anything I know of, but the build fails during pcap-util.c, because pcap_if_t is undefined.

source='pcap-util.c' object='pcap-util.o' libtool=no \
depfile='.deps/pcap-util.Po' tmpdepfile='.deps/pcap-util.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./wiretap -I/usr/local/include -DINET6 -no-cpp-precomp -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -c `test -f 'pcap-util.c' || echo './'`pcap-util.c
pcap-util.c: In function `get_interface_list_findalldevs':
pcap-util.c:195: error: `pcap_if_t' undeclared (first use in this function) pcap-util.c:195: error: (Each undeclared identifier is reported only once
pcap-util.c:195: error: for each function it appears in.)
pcap-util.c:195: error: `alldevs' undeclared (first use in this function)
pcap-util.c:195: error: `dev' undeclared (first use in this function)
... /* many more useless error messages */
make[2]: *** [pcap-util.o] Error 1
make[1]: *** [all-recursive] Error 1

Moreover, I can't find the pcap_if_t definition, in /usr/include, in Apple's libpcap sources, or in the tcpdump.org tcpdump-0.6.2 tarball (this is the version OS X 10.3.2 uses) or in the ethereal soures.

Where can I find pcap_if_t?

Please pardon any possible operator error, and please don't hesitate to let me know if this sort of traffic should be on another list.

-peter