Hello All,
I'm trying to compile some software and it's failing with the folling error when i execute the "make" command;
[root@localhost rfakeap-0.2]# make
gcc -O -lrt -lpcap rfakeap.c -o rfakeap
/tmp/ccni2NDx.o: In function `main':
rfakeap.c

.text+0x12b5): undefined reference to `pcap_open_live'
rfakeap.c

.text+0x12fd): undefined reference to `pcap_setnonblock'
rfakeap.c

.text+0x130a): undefined reference to `pcap_datalink'
rfakeap.c

.text+0x13d7): undefined reference to `pcap_loop'
How do i link these references to my libpcap directory? Many thanks.