Redian新闻
>
用GMAKE时有clock skew,运行时间为负,怎么回事?
avatar
用GMAKE时有clock skew,运行时间为负,怎么回事?# Unix - 噫吁兮,危乎高哉
p*v
1
OS: Sun Solaris,
更新一个文件后gmake时,显示这个文件 has modification time in the future。
但是用make就没事,是系统的问题呢还是gmake有问题?
另外,运行一个程序,显示执行时间为负值,这又是怎么回事呢?
BTW, 在LINUX下执行就输出正确。
Thanks for your advice!
avatar
o*z
2
if you modify the file via sth like an afs client
you may need to synchronize your local clock with that of the server

【在 p**v 的大作中提到】
: OS: Sun Solaris,
: 更新一个文件后gmake时,显示这个文件 has modification time in the future。
: 但是用make就没事,是系统的问题呢还是gmake有问题?
: 另外,运行一个程序,显示执行时间为负值,这又是怎么回事呢?
: BTW, 在LINUX下执行就输出正确。
: Thanks for your advice!

avatar
p*v
3
how to synchronize the local clock with the server?
thanks.

【在 o***z 的大作中提到】
: if you modify the file via sth like an afs client
: you may need to synchronize your local clock with that of the server

avatar
o*z
4
i use socketwatch in windows
in unix you can run ntp (or other time sync service of your choice)

【在 p**v 的大作中提到】
: how to synchronize the local clock with the server?
: thanks.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。