tce-load -i compiletc libnl-dev libusb-dev http://www.tcpdump.org/release/libpcap-1.9.1.tar.gz cd libpcap-1.9.1 sudo ln -s /tmp/tcloop/libnl-dev/usr/local/include/libnl3 /usr/include CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --enable-bluetooth=no find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 14.80s] sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile sudo make install