我是靠谱客的博主 潇洒日记本,这篇文章主要介绍linux-zigbee migrate,现在分享给大家,希望可以做个参考。

 

 

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

      

             

 

最后

以上就是潇洒日记本最近收集整理的关于linux-zigbee migrate的全部内容,更多相关linux-zigbee内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(56)

评论列表共有 0 条评论

立即
投稿
返回
顶部