Showing posts with label Netlink Library. Show all posts
Showing posts with label Netlink Library. Show all posts

Friday, January 30, 2015

How to compile libnl 3.0 on Raspberry Pi

Required environment: Raspberry Pi, Raspbian
Required package: git, libtool, autoconf, bison, flex

0. If you have any packages you did not install, install them first.

$ sudo apt-get install git libtool autoconf bison flex

1. Download the source code through GIT

$ git clone https://github.com/tgraf/libnl.git


2. Run Autoconf using autogen.sh. Autoconf will automatically sets the compiling environment for Raspberry Pi(for ARM-EABI CPU)

$ ./autogen.sh


3. Configure

$ ./configure


4. Build it and install it

$ make

$ sudo make install


That's it!

You can also read this post in Korean from the link below:
http://yfaney.tistory.com/299

Reference: Netlink Library hompage(http://www.infradead.org/~tgr/libnl/doc/core.html)