提示
error:unable to find the kernel source tree for the currently running kernel. please make sure you have installed the kernel source files for your kernel and that htey are properly configured; on red hat linux system, for example, be sure you have the ‘kernel-source’ or ‘kernel-devel’ RPM installed. if you know the correct kernel source files are installed ,you may specify the kernel source path with the ‘–kernel-source-path’ command line option.
安装linux-headers包即可
本文解决了一个常见的Linux编译错误:无法找到当前运行内核的内核源代码树。文章指导如何确保已正确安装并配置了内核源文件,特别是在Red Hat Linux系统上。建议安装‘kernel-source’或‘kernel-devel’RPM包,并提供了指定内核源路径的命令行选项。

1万+

被折叠的 条评论
为什么被折叠?



