Linux下编译会遇到的问题处理方法

来源:互联网 发布:java中的 invoke 编辑:程序博客网 时间:2024/05/23 01:25

You can search the correct package with this command:

apt-file search /netlink/genl/genl.h

In my case the output is:

libnl-3-dev: /usr/include/libnl3/netlink/genl/genl.h

This means, I have to install the package libnl-3-dev:

sudo apt-get install libnl-3-dev

And you need libnl-genl-3-dev

sudo apt-get install libnl-genl-3-dev

Then open the config file:

nano hostap/hostapd/.config

and uncomment the line:

CONFIG_LIBNL32=y

Start make again.

0 0
原创粉丝点击