首页 > 代码库 > make: Warning: File `Makefile' has modification time 17 s in the future

make: Warning: File `Makefile' has modification time 17 s in the future

linux下,make makefile文件的时候报警告:

make: Warning: File `Makefile‘ has modification time 17 s in the future

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

原因是:系统时间不正确,文档被修改的时间比系统时间大,把系统时间修改正确即可。

解决方法:

修改时间的命令:

date -s 07/13/2007

date -s 11:55:00

 

 

make: Warning: File `Makefile' has modification time 17 s in the future