(Updated prefix) |
(Reverted back to version 3.2.22) |
||
Line 17: | Line 17: | ||
<PRE> | <PRE> | ||
− | wget http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-3.2. | + | wget http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-3.2.22.tar.gz |
− | tar -xzf libnl-3.2. | + | tar -xzf libnl-3.2.22.tar.gz |
− | cd libnl-3.2. | + | cd libnl-3.2.22 |
./configure --prefix=/home/cpeacock/export/rootfs --host=arm-linux-gnueabi | ./configure --prefix=/home/cpeacock/export/rootfs --host=arm-linux-gnueabi | ||
make | make |
The following contains instructions for cross-compiling the ARM Linux-Zigbee User Space Tools on Ubuntu 13.10. 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
Download, cross compile and install the Netlink Protocol libraries.
wget http://www.carisma.slowglass.com/~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/export/rootfs --host=arm-linux-gnueabi make make install
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=/home/cpeacock/export/rootfs --host=arm-linux-gnueabi PKG_CONFIG_PATH=/home/cpeacock/export/rootfs/lib/pkgconfig make make install