Netlink library-libnl-1.1 porting to ARM Linux

Source: Internet
Author: User

Libnl introduction:

Libnl is a library for applications dealing with Netlink sockets. The Library provides an interface for raw Netlink messaging and varous Netlink family specific interfaces.

Libnl is a library developed to facilitate applications to use the Netlink interface. This library provides a unified interface for original Netlink message transmission and different Netlink family-specific interfaces.

The API of libnl-2.0 is not compatible with libnl-1.0. Your application may break without adjustment of API usage.

Libnl2.0 APIs are not compatible with libnl1.0 APIs. If your application is not adjusted, it may become unavailable.

Note:

Porting libnl1.1 is part of hostapd porting. The libnl library used by hostapd is 1.x. The API of Version 2.0 is incompatible with version 1.0. Therefore, port version 1.1 here, but port 2.0 is the same.

Port:

Development Environment:

Ubuntu 10.04

Arm-Linux-GCC version 4.4.1

Target Environment

Friendly arm mini6410

Linux-2.6.36

Procedure

1. Download libnl1.1 from the official website, decompress it, and run CD To Go To The libnl directory.
2. Run./configure-Prefix =/usr/local/ARM/libnl1.1 to configure the libnl installation path.
3. Execute make cc = arm-Linux-GCC to complete compilation and obtain the libnl library.
4. Run Su, enter the password, log on as the root user, run make install, and install the libnl Library to the/usr/local/ARM/libnl1.1 path.

5. Copy all files under/usr/local/ARM/libnl1.1/lib to the/lib directory of the Development Board to ensure that hostapd runs on the Development Board and the location of the libnl library can be correctly found.

Recommended Website:

Http://www.infradead.org /~ Tgr/libnl/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.