Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 3 down vote accepted

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.