(First Version)
(No difference)

Revision as of 11:16, 10 October 2015

Cross Compiling wpan-tools (IEEE 802.15.4) User Space Tools

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
sudo apt-get install autoconf
sudo apt-get install libtool
sudo apt-get install help2man

Netlink Protocol Library Suite (libnl)

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 install

Linux WPAN User Space Tools

With the dependencies above cross compiled for ARM and installed, download the wpan-tools and cross compile.

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 install