Results 1 to 1 of 1
I'm trying to install Libpcap. But I cannot compile a test program to test it.
I got the test program (ldev.c) from the yuba stanford website.
I just want to ...
- 06-13-2011 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 3
Trying to install Libpcap on Ubuntu. Can't compile a c program.
I'm trying to install Libpcap. But I cannot compile a test program to test it.
I got the test program (ldev.c) from the yuba stanford website.
I just want to test Libpcap. If you have another suggestion on testing it, please let me know.
Here is the error that I get when I try to compile ldev.c
How do I define these references?Code:ldev.c:(.text+0x2a): undefined reference to `pcap_lookupdev' ldev.c:(.text+0x86): undefined reference to `pcap_lookupnet'


Reply With Quote