Linux编译make提示“make: warning: Clock skew detected. Your build may be incomplete.”

xingyun86 2021-7-28 1016

从debian下通过rz指令传了一个压缩包到Linux设备上,解压后直接make压缩包中的source,出现如下告警:

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

 

意思就是检测到时钟偏差了,主要是两个设备系统之间的时间上存在差距。

解决方案:

find ./ -type f |xargs touch

将所有文件都重新touch一遍,更新到本地系统的时间,再make就没问题了。

×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回