ERROR-recipe_for_target_kernel/timeconst.h_failed_kernel/timeconst.h]_Error_255

一、报错

在使用ubuntu16.04编译Linux-3.4.2内核时出现这样的错误:

1
recipe for target 'kernel/timeconst.h' failed kernel/timeconst.h] Error 255

二、解决

将kernel/timeconst.pl中第373行的defined()去掉,只留下 [email protected] 就可以了