make -j16
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
make[1]: 没有什么可以做的为 `all'。
CHK include/generated/utsrelease.h
make[1]: 没有什么可以做的为 `relocs'。
CC arch/x86/kernel/asm-offsets.s
In file included from include/linux/suspend.h:8:0,
from arch/x86/kernel/asm-offsets.c:12:
include/linux/mm.h:645:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS
#error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS
^
make[1]: *** [arch/x86/kernel/asm-offsets.s] 错误 1
make: *** [prepare0] 错误 2
我重新make以后又出现这样的错误。
先将旧的make信息清除:make clean
然后再./configure,这一步完成之后查看是否报错:echo $?
如果返回结果是0则继续下一步make,如果结果不是0,则要检查是否还有依赖包没安装上