环境:ArchLinux
源码:libpcap
下面开始编译libpcap,先将toolchain和staging_dir加入环境变量中
[form@Felicity libpcap]$ export PATH=$PATH:/home/form/K2_mt7620/PandoraBox-SDK-ralink-mt7620_gcc-4.8-linaro_uClibc-1.0.x.Linux-x86_64/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-1.0.x/bin
[form@Felicity libpcap]$ export STA