[MacPorts] #17323: can't build tcpdump on 10.5.5

MacPorts noreply at macports.org
Wed Nov 19 02:49:02 PST 2008


#17323: can't build tcpdump on 10.5.5
-----------------------------+----------------------------------------------
 Reporter:  dimik at yandex.ru  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:  Port Bugs                            
Component:  ports            |     Version:  1.6.0                                
 Keywords:                   |        Port:                                       
-----------------------------+----------------------------------------------
 Macintosh:/ dimik$ sudo port -dRs install tcpdump
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/tcpdump
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/tcpdump
 DEBUG: Requested variant darwin is not provided by port tcpdump.
 DEBUG: Requested variant i386 is not provided by port tcpdump.
 DEBUG: Requested variant macosx is not provided by port tcpdump.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap
 DEBUG: Requested variant darwin is not provided by port libpcap.
 DEBUG: Requested variant i386 is not provided by port libpcap.
 DEBUG: Requested variant macosx is not provided by port libpcap.
 DEBUG: Searching for dependency: libpcap
 DEBUG: Found Dependency: receipt exists for libpcap
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
 DEBUG: Requested variant i386 is not provided by port openssl.
 DEBUG: Requested variant macosx is not provided by port openssl.
 DEBUG: Executing variant darwin provides darwin
 DEBUG: Searching for dependency: openssl
 DEBUG: Found Dependency: receipt exists for openssl
 DEBUG: Skipping completed org.macports.main (tcpdump)
 DEBUG: Skipping completed org.macports.fetch (tcpdump)
 DEBUG: Skipping completed org.macports.checksum (tcpdump)
 DEBUG: Skipping completed org.macports.extract (tcpdump)
 DEBUG: Skipping completed org.macports.patch (tcpdump)
 DEBUG: Skipping completed org.macports.configure (tcpdump)
 --->  Building tcpdump with target all
 DEBUG: Executing org.macports.build (tcpdump)
 DEBUG: Environment:
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_tcpdump/work/tcpdump-4.0.0"
 && make all'
 /usr/bin/gcc-4.0 -O2 -O2 -DHAVE_CONFIG_H   -I/usr/include -I./missing
 -D_U_="__attribute__((unused))" -I.  -I/usr/include -I./missing -c
 ./tcpdump.c
 ./tcpdump.c: In function 'main':
 ./tcpdump.c:957: warning: assignment makes pointer from integer without a
 cast
 ./tcpdump.c:990: error: 'PCAP_ERROR' undeclared (first use in this
 function)
 ./tcpdump.c:990: error: (Each undeclared identifier is reported only once
 ./tcpdump.c:990: error: for each function it appears in.)
 ./tcpdump.c:992: error: 'PCAP_ERROR_NO_SUCH_DEVICE' undeclared (first use
 in this function)
 ./tcpdump.c:993: error: 'PCAP_ERROR_PERM_DENIED' undeclared (first use in
 this function)
 ./tcpdump.c:1006: error: 'PCAP_WARNING' undeclared (first use in this
 function)
 ./tcpdump.c:1008: error: 'PCAP_WARNING_PROMISC_NOTSUP' undeclared (first
 use in this function)
 make: *** [tcpdump.o] Error 1
 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_tcpdump/work/tcpdump-4.0.0"
 && make all " returned error 2
 Command output: /usr/bin/gcc-4.0 -O2 -O2 -DHAVE_CONFIG_H   -I/usr/include
 -I./missing  -D_U_="__attribute__((unused))" -I.  -I/usr/include
 -I./missing -c ./tcpdump.c
 ./tcpdump.c: In function 'main':
 ./tcpdump.c:957: warning: assignment makes pointer from integer without a
 cast
 ./tcpdump.c:990: error: 'PCAP_ERROR' undeclared (first use in this
 function)
 ./tcpdump.c:990: error: (Each undeclared identifier is reported only once
 ./tcpdump.c:990: error: for each function it appears in.)
 ./tcpdump.c:992: error: 'PCAP_ERROR_NO_SUCH_DEVICE' undeclared (first use
 in this function)
 ./tcpdump.c:993: error: 'PCAP_ERROR_PERM_DENIED' undeclared (first use in
 this function)
 ./tcpdump.c:1006: error: 'PCAP_WARNING' undeclared (first use in this
 function)
 ./tcpdump.c:1008: error: 'PCAP_WARNING_PROMISC_NOTSUP' undeclared (first
 use in this function)
 make: *** [tcpdump.o] Error 1

 Warning: the following items did not execute (for tcpdump):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.

-- 
Ticket URL: <http://trac.macports.org/ticket/17323>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list