i am ubuntu user after install cross compiler (arm-linux-gcc) trying for cross compile program using libpcap library. i am trying to run simple packet capture program but getting this problem.
root@localhost:/home/nasim/Desktop/ppro# arm-linux-gcc -o snifx snifx.c -lpcap
/usr/local/hybus-arm-linux-R1.1/arm-linux/bin/ld: cannot find -lpcap
collect2: ld returned 1 exit status
Please tell someone what is the issue and how can i solve this problem.