Hi,
the current release 2014.0.0 made some problems for me because Debian the new function "rtnl_open" conflicted with libnl-3.0. libnl-3.0 was used in the Debian package to follow the Debian policy chapter 4 about duplicated code.
Using libnl should not be a problem for any linux system because everyone uses it when wireless configuration is done. For example libnl-tiny is already used by the normal OpenWrt system in base system packages:
* netifd * swconfig * authsae * hostapd * iproute2 * iw * iwinfo
So it is nearly impossible to not have installed ;)
An additional benefit is the already tested code, better type checks and more linear code instead of lot of loops to parse the data.
The Makefile is written in such a way that it:
* tries to find pkg-config (can be overwritten by setting PKG_CONFIG as environment variable/make parameter) * tries to find the libnl CFLAGS + LDLIBS (can be avoided by setting LIBNL_CFLAGS/LIBNL_LDLIBS as environment variable/make parameter) ** the search for the CFLAGS + LDLIBS is done using pkg-config using the library name libnl-3.0 (this can be changed by setting LIBNL_NAME as environment variable/make parameter)
Kind regards, Sven