ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: Re: [Wireshark-users] Compilation problems with CVS libpcap

From: "Stephen RP O'Connell" <srpoc103@xxxxxxxxxxxxxxx>
Date: Mon, 11 Feb 2008 09:49:22 +0000
Yes I'm using Linux - Ubuntu 7.10, kernel 2.6.22

nm prints:

/usr/local/lib/libpcap.a:gencode.o:         U pcap_parse

This is the first time I've used nm - the man page says that U means the
symbol is undefined, but I'm not 100% sure exactly what that means?

Quoting Guy Harris <guy@xxxxxxxxxxxx>:

> Stephen RP O'Connell wrote:
> > It prints:
> > 
> > gencode.c:      (void)pcap_parse();
> > gencode.h:int pcap_parse(void);
> > grammar.c:pcap_parse()
> > grammar.y:pcap_parse()
> 
> What does
> 
> 	nm -po /usr/local/lib/libpcap.a | egrep pcap_parse
> 
> print?
> 
> (I'm assuming this is Linux; if it's not, you might as well give up, 
> unless you're writing your own USB support or got the USB support from 
> somebody else, as the current CVS version of libpcap supports only Linux.)
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-users
>