Fedora 24:没有 build.include / 尝试生成 autoconf.h

Fedora 24:没有 build.include / 尝试生成 autoconf.h

尝试构建一个需要 autoconf.h 的包

因此我安装了 kernel-devel,运行了 make oldconfig 和 make prepare,但不幸的是它没有起作用

在网上找不到任何解决方案,有什么想法吗?

好像我缺少 build.include 文件

[root@linux 4.6.3-300.fc24.x86_64]# make oldconfig
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#

[root@linux 4.6.3-300.fc24.x86_64]# make prepare
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  DESCEND  objtool
/usr/src/kernels/4.6.3-300.fc24.x86_64/tools/build/Makefile.build:32: /usr/src/kernels/4.6.3-300.fc24.x86_64/tools/build/Build.include: No such file or directory
make[4]: *** No rule to make target '/usr/src/kernels/4.6.3-300.fc24.x86_64/tools/build/Build.include'.  Stop.
Makefile:36: recipe for target '/usr/src/kernels/4.6.3-300.fc24.x86_64/tools/objtool/fixdep-in.o' failed
make[3]: *** [/usr/src/kernels/4.6.3-300.fc24.x86_64/tools/objtool/fixdep-in.o] Error 2
/usr/src/kernels/4.6.3-300.fc24.x86_64/tools/build/Makefile.include:7: recipe for target 'fixdep' failed
make[2]: *** [fixdep] Error 2
Makefile:59: recipe for target 'objtool' failed
make[1]: *** [objtool] Error 2
Makefile:1554: recipe for target 'tools/objtool' failed
make: *** [tools/objtool] Error 2

[root@linux 4.6.3-300.fc24.x86_64]# pwd
/usr/src/kernels/4.6.3-300.fc24.x86_64

[root@linux 4.6.3-300.fc24.x86_64]# uname -r
4.6.3-300.fc24.x86_64

[root@linux 4.6.3-300.fc24.x86_64]# rpm -q kernel-devel
kernel-devel-4.5.5-300.fc24.x86_64
kernel-devel-4.6.3-300.fc24.x86_64

[root@linux 4.6.3-300.fc24.x86_64]# rpm -q kernel-headers
kernel-headers-4.6.3-300.fc24.x86_64

相关内容