Hi,
I am starter on libpcap stuff, I have a small program
as below.#include <pcap.h>
int
main() {
char *dev,*errbuf;
dev = pcap_lookupdev( errbuf);
printf ("%s", dev);
}
and when I compile with gcc I get
/tmp/cc5yAIml.o: In function `main':
/tmp/cc5yAIml.o(.text+0xd): undefined reference to `pcap_lookupdev'
collect2: ld returned 1 exit status
Please let me know what is to be done to fix this.
Thanks
sailesh
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe