Ethereal-users: [Ethereal-users] Yet Another Problem With Compile of Ethereal Mac OS X 10.3.2

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

From: "Claude V. Lucas" <claudel@xxxxxxxxx>
Date: Tue, 02 Mar 2004 11:46:24 -0800
Hi

Trying to build 0.10.2 under OS X 10.3.2 latest devsys installed
Some ( most ) non-Apple components installed via Fink in /sw
I built & installed latest libpcap (0.8.1) via the  Fink install in /sw.
I get the following after running

#./configure --with-openssl=/sw --enable-dftest --with-adns=/sw | tee
./build-ethereal.txt

<output from configure snipped>

The Ethereal package has been configured with the following options.
                    Build ethereal : yes
                   Build tethereal : yes
                     Build editcap : yes
                    Build mergecap : yes
                   Build text2pcap : yes
                     Build idl2eth : yes
                     Build randpkt : no
                      Build dftest : yes

                    Install setuid : no
                       Use plugins : yes
               Use GTK+ v2 library : no
                  Use pcap library : yes
                  Use zlib library : yes
                  Use pcre library : yes
              Use GNU ADNS library : yes
          Use IPv6 name resolution : yes
     Use UCD SNMP/NET-SNMP library : yes (net-snmp)

#make
< successful build portion deleted >
build fails at this part

gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I./wiretap -I/usr/local/include
-I/usr/local/include -g -O2 -Ddarwin7 -no-cpp-precomp
-I/Developer/SDKs/MacOSX10.3.0.sdk/usr/include -D_BSD_SOCKLEN_T_=int32_t
-I/sw/include -I. -I/sw/include  -DINET6 -no-cpp-precomp
-D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include
-I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include
-I/usr/X11R6/include -I/usr/local/include -g -O2 -Ddarwin7 -no-cpp-precomp
-I/Developer/SDKs/MacOSX10.3.0.sdk/usr/include -D_BSD_SOCKLEN_T_=int32_t
-I/sw/include -I. -I/sw/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)
pcap-util.c:195: warning: left-hand operand of comma expression has no
effect
pcap-util.c:198: warning: implicit declaration of function
`pcap_findalldevs'
pcap-util.c:215: warning: implicit declaration of function
`pcap_freealldevs'
pcap-util.c: In function `create_data_link_info':
pcap-util.c:253: warning: implicit declaration of function
`pcap_datalink_val_to_name'
pcap-util.c:253: warning: assignment makes pointer from integer without a
cast
pcap-util.c: In function `get_pcap_linktype_list':
pcap-util.c:298: warning: implicit declaration of function
`pcap_list_datalinks'
pcap-util.c: In function `set_pcap_linktype':
pcap-util.c:352: warning: implicit declaration of function
`pcap_set_datalink'
make[2]: *** [pcap-util.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Any insights from the group?

I probably have misconfigured something, but I'm not sure exactly what.

Thanks in Advance

Claude