The following contains instructions for cross-compiling the ARM wpan-tools User Space Tools on Ubuntu 15.04. It requires the gcc cross-compiler, bison, flex, autoconf and libtool to be installed. If these prerequisites have not been installed, please install them:
sudo apt-get install gcc-arm-linux-gnueabi sudo apt-get install bison sudo apt-get install flex
Download, cross compile and install the Netlink Protocol libraries.
wget http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-3.2.25.tar.gz tar -xzf libnl-3.2.25.tar.gz cd libnl-3.2.25 ./configure --prefix=/home/cpeacock/export/rootfs --host=arm-linux-gnueabi make make install
With the dependencies above cross compiled for ARM and installed, download the wpan-tools and cross compile.
http://wpan.cakelab.org/releases/wpan-tools-0.5.tar.gz tar -xzf wpan-tools-0.5.tar.gz cd wpan-tools-0.5 ./configure --prefix=/home/cpeacock/export/rootfs --host=arm-linux-gnueabi PKG_CONFIG_PATH=/home/cpeacock/export/rootfs/lib/pkgconfig make make install