Using libpcap-0.7.2 in C Program

"ali awan" <[email protected]> Mon, 15 Sep 2003 05:22:32 +0000
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
Sir,
I am using libpcap-0.7.2 in a C program which first captures a packet and 
then reinjects it into the network. But my program is giving the following 
error

/tmp/ccSuKW14.o(.text+0x1ab):undefined reference to "pcap_lookupdev"
The same error is reported on all the libpcap functions that I have used.

probably it is a linkage error. the program is not finding libpcap. what 
should i do.

Ali

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963