libpcap failure - Leopard 10.5.1

Ryan Schmidt ryandesign at macports.org
Mon Jan 7 12:53:07 PST 2008


I see we have a ticket on this already:

http://trac.macosforge.org/projects/macports/ticket/13802

I'll add you to the Cc list so you'll be informed of its progress.

Any help you can provide in resolving the problem would of course  
also be appreciated.


On Jan 7, 2008, at 10:20, Stefmit wrote:

> --->  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_l 
> ibpcap/work/libpcap-0.9.8"
> && make all " returned error 2
> Command output: rm -f libpcap.dylib
> /usr/bin/gcc-4.0 -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
> Undefined symbols:
>   "_lex_init", referenced from:
>       _pcap_compile in gencode.o
>   "_lex_cleanup", referenced from:
>       _pcap_compile in gencode.o
>       _pcap_compile in gencode.o
>   "_pcap_lex", referenced from:
>       _pcap_parse in grammar.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [libpcap.dylib] Error 1
>
> Error: Unable to upgrade port: 1


More information about the macports-users mailing list