compiler-errors - “make all” 编译TPlink wm722n驱动出错

标签 compiler-errors linux-kernel driver

我已经从 tplink 网站下载了 Tplink wm722n V2 驱动程序。当我试图“制造”它时,它给了我一个错误......

"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.9.0-kali3-686-pae/build M=/root/Desktop/kernel-master/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4  modules
make[1]: *** /lib/modules/4.9.0-kali3-686-pae/build: No such file or directory.  Stop.
Makefile:1367: recipe for target 'modules' failed
make: *** [modules] Error 2

谁能帮帮我。。

最佳答案

该错误表明 make 正在寻找内核头文件,但在指定的路径上找不到它们。

你需要安装linux-headers然后你可以构建一个模块。

关于compiler-errors - “make all” 编译TPlink wm722n驱动出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48106074/

相关文章:

c - 即使包含 mongoose.h 也 undefined reference

c++ - 'TraceEvents' 未定义;假设 extern 返回 int

c# - 检索所有可用打印机驱动程序的列表(如添加打印机向导)

powershell 将 .inf 文件传递​​给 pnputil

ios - Apple LLVM 编译器错误 4.1

c - 提供的代码中的 "Dereferencing Pointer to Incomplete Type"

c++ - 使用模板时出现奇怪的 "invalid initialization of non-const reference"

ubuntu - 如何在不重新编译任何未更改的文件的情况下重建 Ubuntu 内核源代码?

linux - Linux 上 POSIX AIO 和 libaio 的区别?

ubuntu - YOCTO:启动 menuconfig 打开一个空终端