libnl-3.1/3.2 compilation issue
Mon Sep 19 07:28:35 PDT 2011
I was trying to compile wpa_supplicant against libnl-3.2.0 (Buildroot) and my build failed with following error message:
../src/drivers/driver_nl80211.c:22:31: fatal error: netlink/genl/genl.h: No such file or directory
the cause is, since libnl-3.1 header files will be installed to ../include/libnl3/netlink and not direct to ../include/netlink. See this commit message for explanations:
How can libnl version be automatically detected? One way were to call pkg-config in drivers.mak and set CFLAGS and LDFLAGS properly. See iw->Makefile for how they manage this (though this process must corrected to catch up with recent libnl changes):
What do you think about it?
More information about the Hostap