Otherwise, the error messase would be very confusing. --- Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index aaa9ca6..461103d 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,10 @@ NLLIBS += -lnl-genl NLLIBNAME = libnl-2.0 endif +ifeq ($(NLLIBNAME),) +$(error Cannot find development files for any supported version of libnl) +endif + NLLIBS += `pkg-config --libs $(NLLIBNAME)` CFLAGS += `pkg-config --cflags $(NLLIBNAME)` -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html