make[1]: Warning: File ‘xxx.o’ has modification time xxx s in the future
make[1]: Warning: Clock skew detected. Your build may be incomplete.
- 以上就是问题出现的形式,其中xxx.o是工程中的某一个文件,xxx s 表示时间差了多少秒。
问题原因目前使用Win10 + 虚拟机VirtualBox(运行Ubuntu16.04)
Win10上创建文件
Ubuntu16.04 上编译文件
解决办法由于虚拟机下的时间与物理机的时间快导致
将虚拟机时间调整比物理机快,改为手动设置时间,尽量不去同步物理机时间。


![解决 make[1]: Warning: File ‘xxx.o‘ has modification time xxx s in the future 问题 解决 make[1]: Warning: File ‘xxx.o‘ has modification time xxx s in the future 问题](http://www.mshxw.com/aiimages/31/838325.png)
