Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14015 closed defect (duplicate)

libpcap 0.9.8 refuses to build on Mac OS X 10.3.9

Reported by: McDutchie (Martijn Dekker) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: libpcap, panther, build failure Cc: simon@…, McDutchie (Martijn Dekker)
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

The build for libpcap 0.9.8 fails on MacPorts 1.6.0 on Panther, as follows:

martijn@grote5:~$ sudo port -cnufv upgrade libpcap 
--->  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: scanner.l:88: onjuist teken: 7
scanner.l:88: onjuist teken: 6
scanner.l:88: onjuist teken: 0
scanner.l:88: onjuist teken: 0
scanner.l:89: onjuist teken: %
scanner.l:89: onbekende fout tijdens verwerken van sectie 1
scanner.l:89: onjuist teken: 2
scanner.l:89: onjuist teken: 0
scanner.l:89: onjuist teken: 0
scanner.l:89: onjuist teken: 0
bison -y -p pcap_ -d grammar.y
mv y.tab.c grammar.c
mv y.tab.h tokdefs.h
/usr/bin/gcc-3.3 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c scanner.c
/usr/bin/gcc-3.3 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c
sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c
/usr/bin/gcc-3.3 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c version.c
ar rc libpcap.a pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o  scanner.o grammar.o version.o  
ranlib libpcap.a
rm -f libpcap.dylib
/usr/bin/gcc-3.3 -dynamiclib -o libpcap.`cat VERSION`.dylib \
        -install_name /opt/local/lib/libpcap.0.dylib \
        -compatibility_version 1.0.0 -current_version `cat VERSION` \
        pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o  scanner.o grammar.o version.o  
ld: Undefined symbols:
_lex_cleanup
_lex_init
_pcap_lex
/usr/bin/libtool: internal link edit command failed
make: *** [libpcap.dylib] Error 1

Error: Unable to upgrade port: 1
martijn@grote5:~$ 

Change History (3)

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:2 Changed 17 years ago by simon@…

Cc: simon@… martijn@… added
Resolution: duplicate
Status: newclosed

This is a duplicate of #13802. Please look there for a solution. An update which fixes this will be released soon.

Thanks for your report,

Simon

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.