Opened 16 years ago

Last modified 15 years ago

#14015 closed defect

libpcap 0.9.8 refuses to build on Mac OS X 10.3.9 — at Initial Version

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

Description

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 (0)

Note: See TracTickets for help on using tickets.