tcpdump mailing list archives

Re: libpcap and ettercap on Solaris 9


From: capper () psicorps org
Date: Fri, 21 Dec 2007 17:47:00 -0500 (EST)

On Fri, 21 Dec 2007, Guy Harris wrote:

capper () psicorps org wrote:

checking for libpcap... yes
checking for pcap_datalink_val_to_description in -lpcap... no

What does the config.log file for ettercap say? The tests in configure scripts are a bit tricky to get right.

Thanks for replying. Here's the output from config.log for that specific section:

---- Cut Here ----
configure:31201: checking for libpcap
configure:31277: result: yes
configure:31610: checking for pcap_datalink_val_to_description in -lpcap
configure:31640: gcc -o conftest -g -O2  -lpcap conftest.c -lpcap  -lresolv -lz -ldl -lsocket -lnsl >&5
Undefined                       first referenced
 symbol                             in file
pcap_lex                            /usr/lib/libpcap.a(grammar.o)
lex_cleanup                         /usr/lib/libpcap.a(gencode.o)
lex_init                            /usr/lib/libpcap.a(gencode.o)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
---- Cut Here ----

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: