Update to include the libpcap problems. Using excerpts from a mailexchange

between Guy Harris and Peter ("downtime").

svn path=/trunk/; revision=10426
This commit is contained in:
Jörg Mayer 2004-03-21 19:04:44 +00:00
parent 51c2041aa1
commit aa7a809354
1 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,4 @@
$Id: README.macos,v 1.2 2004/03/16 18:18:48 guy Exp $
$Id: README.macos,v 1.3 2004/03/21 19:04:44 jmayer Exp $
This file tries to help building Ethereal for Mac OS X (Ethereal does
not work on earlier versions of Mac OS).
@ -23,3 +23,16 @@ which is known to work in this constellation:
and the corresponding dependencies. In case you also have gtk1 installed,
you will need to run configure with the "--enable-gtk2" argument.
Another problem are compile errors in the wiretap directory like the
following:
pcap-util.c: In function `get_interface_list_findalldevs':
pcap-util.c:195: error: `pcap_if_t' undeclared (first use in this function)
On first sight, it seems that Mac OS X 10.3.2 ships with a weird version of
libpcap that includes pcap_findalldevs, but no definition for pcap_if_t.
As it turns out, this isn't true. 10.3.2 ships with an 0.6[.x]-derived
libpcap that doesn't include "pcap_findalldevs()". The problem is caused
by a Security Update - it updates the libpcap dylib to 0.8.1, but doesn't
update the header files (or the man page - and also doesn't update the
tcpdump man page to 3.8.1). As a workaround, install pcap.h, pcap-bpf.h
and pcap-stdinc.h from libpcap 0.8.1 in "/usr/include".