[OpenWrt-Devel] Cross compiling problems with libpcap
Hi, I am trying to cross compile a program for openwrt to capture the beacon frames. The program(beaconCap.c) is as follows. * #includestdio.h #includestring.h #includestdlib.h #includepcap.h
Re: [OpenWrt-Devel] Cross compiling problems with libpcap
Your gcc commandline lacks -lpcap, also never compile against host headers when cross compiling, use the pcap headers in staging_dir. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org