1. Linux-ZigBee Kernel
Git clone git: // linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/kernel
2. user tools
2.1 get the user tools
Git clone git: // linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee
2.2 cross compile the user tools
Using the arm-None-Linux-gnueabi-
Tool chain
./Autogen. Sh -- Host = arm-None-Linux-gnueabi (need to install Autoconf and libtool)
It will give out the following error:
No package 'libnl-1' found
Solved: sudo apt-Get install libnl-Dev
2.3 get the library named libnl
Wget http://people.suug.ch /~ Tgr/libnl/files/libnl-1.1.tar.gz
Tar-zxvf libnl-1.1.tar.gz & CD libnl-1.1
./Configure -- Host = arm-None-Linux-gnueabi -- prefix = $ (PWD)/install
Make
Route/link/VLAN. C: 51: Error: 'vlan _ flag_reorder_hdr 'undeclared here (not in a function)
Solved: Vim lib/route/link/VLAN. c
& Add the following lines
# Ifndef vlan_flag_reorder_hdr
# Define
Vlan_flag_reorder_hdr 0x01
# Endif
Make & make install
After this operation, the installed file located at install directory.
Todo:
2.4 go on to build user tools
./Configure -- Host = arm-None-Linux-gnueabi -- prefix = $ (PWD)/install
Make & make install
2.5 using the user tools