On Jan 17, 2008 9:53 PM, Noah <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I am just starting out using fink.  I am wondering if there is any
> advice that could be provided to figuring out why libpcap is not being
> build?
>
>
> --->  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: 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
> 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
> --->  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: 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
> ld: Undefined symbols:
> _lex_cleanup
> _lex_init
> _pcap_lex
> /usr/bin/libtool: internal link edit command failed
> make: *** [libpcap.dylib] Error 1
>
> Cheers,
>
> Noah
>

It's good (for any list) to have your OS version and architecture
listed.  This isn't a Fink build, and it's hard to give you any
general advice without that information--and it would be useful to
know what package you're building, too, so that we can see if Fink's
analog (if present) suffers from the same thing.
-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to