linux 4.9 сборки

когда я пытаюсь Создать Linux в использовании каталога сборки make O=<linux_build_directory> ARCH=arm Image, так получение ошибок как:

make[1]: Entering directory `/home/payal/chanda/build/kernel'
  CHK     include/config/kernel.release
  Using /home/payal/chanda/linux-4.9 as source for kernel
  GEN     ./Makefile
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
In file included from <stdin>:1:0:
/home/payal/chanda/linux-4.9/scripts/gcc-plugins/gcc-common.h:4:22: fatal error: bversion.h: No such file or directory
 #include "bversion.h"
                      ^
compilation terminated.
Cannot use CONFIG_GCC_PLUGINS: your gcc installation does not support plugins, perhaps the necessary headers are missing?
make[1]: *** [gcc-plugins-check] Error 1
make[1]: Leaving directory `/home/payal/chanda/build/kernel'
make: *** [sub-make] Error 2
0
задан 10 January 2017 в 07:17

1 ответ

Я имел ту же проблему как Ваш,

и наконец зафиксировал ее с этим gcc сменным заголовком установленные пакеты:

sudo apt-get install gcc-5-plugin-dev

ссылка, связанная здесь:

http://lkml.iu.edu/hypermail/linux/kernel/1606.1/03341.html

1
ответ дан 7 November 2019 в 04:28

Другие вопросы по тегам:

Похожие вопросы: