2

Попытка собрать пакет, который нуждается в 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

0