[Winpcap-users] Re: link error using newest libpcap 0.9.3
David Chang
dchang at fsautomation.com
Sat Sep 10 19:31:45 GMT 2005
Hi,
I'm getting a link error using the latest libpcap 0.9.3 under RedHat 7.3.
Here's the error:
In function `lookup_proto':
gencode.o(.text+0x3080): undefined reference to `pcap_nametollc'
/home/dchang/svn/swdev/dbpulse/dbpulse-base/linux-i386-rh7.3/lib/libpcap.a(gencode.o):
In function `gen_scode':
gencode.o(.text+0x3c94): undefined reference to `pcap_nametoportrange'
collect2: ld returned 1 exit status
make[1]: *** [dbpulse] Error 1
Did I compile libpcap incorrectly? My code has been compiling fine with an
older version (0.6.2) of libpcap for some time now.
By the way, I'm also using Winpcap 3.0 and my code compiles fine (no link
errors). I'm wondering if I go to the latest version (3.1) whether I will
get those link errors.
DC
More information about the Winpcap-users
mailing list