linux-zigbee migrate

來源:互聯網
上載者:User

 

 

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

      

             

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.