Hello ,

I spend two days trying to compile my code with   header <pcap.h>
I am using LinksysWRT54GL, and  mipsel architecture.

I download the libpcap and try to generate the MakeFile using


./configure --prefix=$TOOLCHAIN --build=mipsel-openwrt-linux-gnu --host=mipsel-openwrt-linux-uclibc --with-pcap=null

and I got this error when I ran make

pcap-usb-linux.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [libpcap.so] Error 1

Thans for all