答案1
在里面您发布的链接它说:
if this fails with errors like:
driver_nl80211.c:21:31: warning: netlink/genl/genl.h: No such file or directory
driver_nl80211.c:22:33: warning: netlink/genl/family.h: No such file or directory
driver_nl80211.c:23:31: warning: netlink/genl/ctrl.h: No such file or directory
driver_nl80211.c:24:25: warning: netlink/msg.h: No such file or directory
driver_nl80211.c:25:26: warning: netlink/attr.h: No such file or directory
you need to install/update libnl-1.0pre8 (or later). If all goes well and the
compilation finishes, try the minimal hostapd again, see the section Using your
distributions hostapd above for that.
所以...
sudo apt-get install libnl1 libnl-dev
然后运行构建
我浏览了一下,我觉得你的卡不适用于此
为确保万无一失,请运行以下命令:
lspci | grep -i network
如果您有 Broadcom 43.... 卡,则此路线将不起作用。看到这个