tce-load -i compiletc libbluetooth5-dev libnl-dev libusb-dev wget https://www.tcpdump.org/release/libpcap-1.7.4.tar.gz cd libpcap-1.7.4 patch -Np1 -i ../libpcap-1.7.4-enable_bluetooth-1.patch CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; sudo ln -s /usr/local/include/libnl3/netlink /usr/local/include/netlink make [0m 7.44s] sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile sudo make install