文件‘Makefile’的修改时间为未来86秒

问题描述 投票:0回答:1

我在 Ubuntu 20.04 上的 ROS Noetic 中创建柔荑花序工作区时遇到问题。每当我尝试构建时,我都会收到这些错误:

make: Warning: File 'Makefile' has modification time 86 s in the future
make[1]: Warning: File 'CMakeFiles/Makefile2' has modification time 86 s in the future
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make: warning:  Clock skew detected.  Your build may be incomplete.

我通过运行 date 命令检查了我的日期是否正确(我在看到我家的时间变化后立即执行了此操作,并且它是正确的秒)。我还尝试了以下命令:

find build/. -exec touch {} \;
touch build/Makefile
touch build/CMakeFiles/Makefile2
find ~/new_ws/build/CMakeFiles/Makefile2 -type f -exec touch {} +
find ~/new_ws/build/Makefile -type f -exec touch {} +
最好的情况是,关闭的秒数减少了一点。我正在从事的项目是从另一个小组传给我的,他们编写了自定义 ROS 消息。看来这会干扰它,因为即使当我拉取他们原来的 git 存储库时,这也是我遇到的唯一问题(尽管我看到它在其他设备上工作)。关于如何正确制作我的柔荑花序工作区有什么想法吗?

linux ros ubuntu-20.04 catkin
1个回答
0
投票

我不知道兄弟,只要举起手来尖叫,让我头晕目眩!

© www.soinside.com 2019 - 2024. All rights reserved.