【发布时间】:2019-04-14 20:26:23
【问题描述】:
我已经通过 VirtualBox 在我的 Windows 10 机器上安装了 CentOS。我知道安装来宾添加(设备 -> 插入来宾添加 CD 映像)将安装来宾添加,但是在构建来宾添加时出现以下错误:
ERROR: Kernel configuration is invalid. include/generated/autoconfig.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it
我已经导航到 /usr/src/ 目录并执行了推荐的命令,但我得到了:
make *** No rule to make target 'oldconfig'. Stop.
不知道从这里去哪里。
【问题讨论】:
-
我通常会发现 (1) 内核头文件丢失,或者 (2) 需要运行 yum 升级。内核和头文件都是最新的吗?
-
我投票结束这个问题,因为它属于unix.stackexchange.com
-
目前在同一条船上,无法找到前进的方向。