Ethereal-dev: RE: [Ethereal-dev] 0.10.2 build failure on Mac OS X: this is real ly weird ...
Hi,
Perhaps the following posts are of interest:
http://www.ethereal.com/lists/ethereal-dev/200402/msg00845.html
http://www.ethereal.com/lists/ethereal-dev/200402/msg00855.html
Best regards
Anders
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of
downtime@xxxxxxxxxxxx
Sent: den 1 mars 2004 10:56
To: Ethereal development
Subject: Re: [Ethereal-dev] 0.10.2 build failure on Mac OS X: this is
really weird ...
Okay ... sorry to response to my own post, but the issue seems to be
that 0.10.2 assumes you have pcap_if_t if you have pcap_findalldevs, a
sane assumption from my reading of the libpcap-0.8.1 headers. However,
OS X 10.3.2 ships with a weird version of libpcap that includes
pcap_findalldevs, but no definition for pcap_if_t.
Does anybody have a favorite workaround? I've reported this to the
darwin-development list.
-peter
On Mar 1, 2004, at 1:01 AM, downtime@xxxxxxxxxxxx wrote:
> ... 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
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev
This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.
E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.