make[1]: warning: Clock skew detected. Your build may be incomplete.解决方法

# make allnoconfig
make: Warning: File `arch/x86/Makefile' has modification time 3.2e+07 s in the future
make[1]: Warning: File `scripts/Makefile.host' has modification time 3.2e+07 s in the future
  HOSTCC  scripts/basic/fixdep
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `scripts/Makefile.host' has modification time 3.2e+07 s in the future
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --allnoconfig Kconfig
#
# configuration written to .config
#
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make: warning:  Clock skew detected.  Your build may be incomplete.

电脑的系统时间不正确,因此将时钟进行了修改,回头编译Linux kernel(centos6)的时候,提示如下的warning:

warning:  Clock skew detected.  Your build may be incomplete.

解决方法:date -s "2019-8-24 15:00"

你可能感兴趣的:(linux)