1、下载地址
2、交叉编译
tar -xvf libpcap-1.10.4.tar.gz
cd libpcap-1.10.4/
打开configure屏蔽5254-5256行
#if test -z "$with_pcap" && test "$cross_compiling" = yes; then
# as_fn_error $? "pcap type not determined when cross-compiling; use --with-pcap=..." "$LINENO" 5
#fi
mkdir pacp_install
./configure --prefix=`pwd`/pacp_install CC=arm-xilinx-linux-gnueabi-gcc --host=arm-linux
make
make install