(First Version)
 
(Linux WPAN User Space Tools)
 
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
sudo apt-get install bison
 
sudo apt-get install bison
 
sudo apt-get install flex
 
sudo apt-get install flex
sudo apt-get install autoconf
 
sudo apt-get install libtool
 
sudo apt-get install help2man
 
 
</PRE>
 
</PRE>
  
Line 28: Line 25:
 
== Linux WPAN User Space Tools ==
 
== Linux WPAN User Space Tools ==
  
With the dependencies above cross compiled for ARM and installed, download the wpan-tools and cross compile.
+
With the dependencies above cross compiled for ARM and installed, download the [http://wpan.cakelab.org/ Linux-wpan-tools] and cross compile.
  
 
<PRE>
 
<PRE>

Latest revision as of 11:22, 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

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 
make install

Linux WPAN User Space Tools

With the dependencies above cross compiled for ARM and installed, download the Linux-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