[MacPorts] #12949: BUG: libpcap 0.9.5, Revision 1 fails to compile
MacPorts
trac at macosforge.org
Fri Mar 21 10:52:31 PDT 2008
#12949: BUG: libpcap 0.9.5, Revision 1 fails to compile
------------------------------+---------------------------------------------
Reporter: spam at fam-os.org | Owner: ricci at macports.org
Type: defect | Status: reopened
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Resolution: | Keywords: libpcap
------------------------------+---------------------------------------------
Changes (by jim at jimjag.com):
* status: closed => reopened
* resolution: worksforme =>
Comment:
At least for me, even 0.9.8 doesn't build.
{{{
% sudo port install libpcap
Portfile changed since last build; discarding previous state.
---> Fetching libpcap
---> Verifying checksum(s) for libpcap
---> Extracting libpcap
---> Applying patches to libpcap
---> Configuring libpcap
---> Building libpcap with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libpcap/work/libpcap-0.9.8"
&& make all " returned error 2
Command output: /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-
common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H
-D_U_="__attribute__((unused))" -c ./pcap-bpf.c
./pcap-bpf.c: In function 'pcap_inject_bpf':
./pcap-bpf.c:348: error: 'BIOCSHDRCMPLT' undeclared (first use in this
function)
./pcap-bpf.c:348: error: (Each undeclared identifier is reported only once
./pcap-bpf.c:348: error: for each function it appears in.)
make: *** [pcap-bpf.o] Error 1
Error: Status 1 encountered during processing.
}}}
{{{
% uname -a
Darwin foo.example.com 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4
21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
}}}
{{{
% gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12949#comment:6>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list