出现warning:
Warning: File `../src/util/rsa_crypto.cc’ has modification time 3.6e+04 s in the future
warning: Clock skew detected. Your build may be incomplete.
出现这一问题是由于文件时间比系统时间晚造成的
出现情景:在一台机器上创建了文件,在另一台机器上运行,由于两台机器时间不同步,出项上述warning
解决方法:
使用touch指令: $ touch FILE_NAME(如果是编译的机器时间不准可能没用)
修改系统时间:使用date查看系统时间
red1892@ubuntu:~/tree/cmake/t4/build$ date
Fri Mar 3 16:57:50 CST 2017使用date -s [time or date]修改时间
red1892@ubuntu:~/tree/cmake/t4/build$ date -s 03/03/2017red1892@ubuntu:~/tree/cmake/t4/build$ date -s 17:00:10