On Fri, 21 Dec 2007, Guy Harris wrote:
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)
What does
nm -pA /usr/lib/libpcap.a | egrep lex
print?
Here is the output from that command:
/usr/lib/libpcap.a[gencode.o]: 0000000000 U lex_cleanup
/usr/lib/libpcap.a[gencode.o]: 0000000000 U lex_init
/usr/lib/libpcap.a[grammar.o]: 0000000000 U pcap_lex
So it does seem the references are undefined. I don't recall the
libpcap build process complaining.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.