
를 사용하여 빌드 디렉터리에서 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
답변1
나는 당신과 같은 문제를 겪었습니다.
마지막으로 설치된 다음 gcc 플러그인 헤더 패키지로 문제를 해결했습니다.
sudo apt-get install gcc-5-plugin-dev
여기에 링크된 참조: