(Netlink Protocol Library Suite (libnl))
(Linux-Zigbee User Space Tools)
Line 20: Line 20:
  
 
<PRE>
 
<PRE>
wget http://sourceforge.net/projects/linux-zigbee/files/linux-zigbee-sources/0.3/lowpan-tools-0.3.tar.gz
+
git clone git://git.code.sf.net/p/linux-zigbee/linux-zigbee linux-zigbee
tar -xzf lowpan-tools-0.3.tar.gz
+
cd linux-zigbee
cd lowpan-tools-0.3
+
./autogen.sh
make distclean
+
 
./configure --prefix=/ --host=arm-linux-gnueabi PKG_CONFIG_PATH=/home/cpeacock/beagle/lib/pkgconfig
 
./configure --prefix=/ --host=arm-linux-gnueabi PKG_CONFIG_PATH=/home/cpeacock/beagle/lib/pkgconfig
 
make  
 
make  
 
make install DESTDIR=/home/cpeacock/beagle
 
make install DESTDIR=/home/cpeacock/beagle
 
</PRE>
 
</PRE>

Revision as of 12:24, 14 August 2013

Cross Compiling Linux-Zigbee (IEEE 802.15.4) User Space Tools

Netlink Protocol Library Suite (libnl)

Download, cross compile and install the Netlink Protocol libraries.

wget http://www.infradead.org/~tgr/libnl/files/libnl-3.2.22.tar.gz
tar -xzf libnl-3.2.22.tar.gz
cd libnl-3.2.22
./configure --prefix=/home/cpeacock/beagle --host=arm-linux-gnueabi
make 
make install

Linux-Zigbee User Space Tools

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

git clone git://git.code.sf.net/p/linux-zigbee/linux-zigbee linux-zigbee
cd linux-zigbee
./autogen.sh
./configure --prefix=/ --host=arm-linux-gnueabi PKG_CONFIG_PATH=/home/cpeacock/beagle/lib/pkgconfig
make 
make install DESTDIR=/home/cpeacock/beagle