libnl1.1-6 /netlink/genl/genl.h no such directory

libnl1.1-6 /netlink/genl/genl.h no such directory

up vote 1 down vote favorite

I'm trying to compile hostapd, and for that it needs the headerfile genl.h which is supposed to be a part of the libnl1 library (I searched around, the best I got was a recommendation to update libnl1.1)

Somehow that headerfile is not available on the system anywhere, I checked some include folders and used

locate genl.h

but got no result.

share improve this question
 
feedback

1 Answer

ACTIVE OLDEST VOTES
up vote 0 down vote

The /usr/include/netlink/genl/genl.h header file is contained in the libnl-dev package. The latest version in the repositories is 1.1-7.

sudo apt-get install libnl-dev will also install the libnl1 library as a dependency.

share improve this answer

你可能感兴趣的:(Q&A)