出现这种问题的原因是当前文件的时间比你系统的时候要晚。遇到这种情况,有两种解决办法:
方法一:
直接用touch命令
touch filename
或者
touch *
然后再重新编译
方法二:
更新系统时间
1.安装ntpdate
sudo apt-get install ntpdate
2.网络时间同步
ntpdate cn.pool.ntp.org
3.系统时间同步到硬件时钟
hwclock -w
然后再重新编译