libnl3.2.25安装编译

1,tar zxvf libnl-3.2.25.tar.gz

2,cd libnl-3.2.25

3,./configure --prefix=/usr  --sysconfdir=/etc  --disable-static && make


4,make install

5, make check.

If you wish to install the API documentation, as the root user:
mkdir -vp /usr/share/doc/libnl-3.2.28 &&
tar -xf ../libnl-doc-3.2.28.tar.gz --strip-components=1 --no-same-owner 
    -C  /usr/share/doc/libnl-3.2.28


gcc -Wall n1.c $(pkg-config --cflags --libs libnl-3.0 libnl-route-3.0) 



Developer's Guide
https://www.infradead.org/~tgr/libnl/doc/core.html
API
https://www.infradead.org/~tgr/libnl/doc/api/group__core.html

http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libnl.html


http://blog.csdn.net/zahuopuboss/article/details/9815751
原文地址:https://www.cnblogs.com/woshare/p/5774193.html