页次: 1
请问,我编译 bsp时候出现下面错误,我编译主线很正常
In file included from include/linux/compiler.h:48:0,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/page-flags.h:8,
from kernel/bounds.c:9:
include/linux/compiler-gcc.h:100:1: fatal error: linux/compiler-gcc7.h:没有那个文件或目录
#include gcc_header(__GNUC__)
^~~~
compilation terminated.
make[1]: *** [kernel/bounds.s] 错误 1
make: *** [prepare0] 错误 2
make: *** 正在等待未完成的任务....
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/genksyms/genksyms
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTLD scripts/mod/modpost
misterlanbing@misterlanbing-virtual-machine:~/linux_v3s/lichee-v3s/lichee/linux-3.4$
这是什么原因呢,
页次: 1