[MacPorts] #14015: libpcap 0.9.8 refuses to build on Mac OS X 10.3.9

MacPorts trac at macosforge.org
Sun Jan 20 18:49:01 PST 2008


#14015: libpcap 0.9.8 refuses to build on Mac OS X 10.3.9
-------------------------------------------+--------------------------------
 Reporter:  martijn at inlv.org               |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                         |      Status:  new                                  
 Priority:  Normal                         |   Milestone:  Port Bugs                            
Component:  ports                          |     Version:  1.6.0                                
 Keywords:  libpcap,panther,build failure  |  
-------------------------------------------+--------------------------------
 The build for libpcap 0.9.8 fails on MacPorts 1.6.0 on Panther, as
 follows:

 martijn at 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 at grote5:~$

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14015>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list