Ubuntu下编译Windows下C源码文件出现警告:make: warning: Clock skew detected. Your build may be incomplete.
2023-09-14 09:09:33 时间
一、问题描述。
Ubuntu下编译Windows下源码文件弹出以下警告:
...
make: Warning: File 'md5.d' has modification time 0.69 s in the future
...
make: warning: Clock skew detected. Your build may be incomplete.
二、问题分析。
make命令发现文件修改时间比Ubuntu系统时间要更早,虚拟机系统时间和电脑Windows系统时间不匹配。
三、解决方案。
1、先查看系统时区date -R,中国为+0800,没问题。
ms@ubuntu:~$ date -R
Tue, 01 Dec 2020 22:10:52 +0800
ms@ubuntu:~$
2、查看系统日期、时间date,没问题。
ms@ubuntu:~$ date
Tue 01 Dec 2020 10:12:10 PM CST
ms@ubuntu:~$
3、更新所有文件的时间后重新编译。问题依旧存在。
find . -type f | xargs -n 5 touch
make clean
make
4、修改虚拟机设置,开启时间同步功能。问题依旧存在。
5、修改Ubuntu日期和时间配置项,关闭时间同步功能。问题解决。
相关文章
- windows文件读取 xxe_XXE漏洞「建议收藏」
- Windows上安装MySQL
- Windows端口被占用_windows如何打开端口
- 【微软2019高潜开源项目】Windows Terminal开发者内测版简易安装教程
- windows查看mysql服务_win10启动错误
- Adobe Photoshop 2023 for Windows 直装版
- windows lua_windows创建指定大小的文件
- 使用工具清理Windows的winsxs目录
- clash for windows编程辅助代理工具附文件
- Windows设置开机启动挂载cfs,设置计划任务同步文件到cfs
- 通过HHDESK,将windows中的文件转移至Linux系统中
- 【开发环境】Java 文件生成 Windows 系统 .bat 批处理文件并自动执行 ( 输出 GB2312 格式处理中文乱码 | rn换行 | Runtime 执行 Cmd 命令 )
- docker nacos部署(Windows版本、Linux版本)
- ORA-09366: Windows 3.1 Two-Task driver unable to allocate shared memory ORACLE 报错 故障修复 远程处理
- 怎样共享windows和linux之间的文件详解程序员
- 阿里云windows server 2008 r2安装mysql失败详解数据库
- 在某个目录下的所有文件中查找包含某个字符串的Windows命令详解程序员
- 连接Windows与Linux的工具箱(windows连接linux工具)
- /windows轻松安装双系统:Linux 与 Windows 互补配置(如何安装双系统linux)
- 从Windows传输文件至Linux(windows传文件到linux)
- Windows 11性能大涨35%?桌面酷睿i9实测提升不大
- 的windows系统在Linux服务器上挂载Windows系统的操作步骤(linux挂载服务器上)
- 动态库从Linux到Windows:动态链接库的跨平台移植(linuxdll)
- Windows XP还在假死?IE补丁意外拯救世界
- Linux将文件传输到Windows系统中(linux传文件到windows)
- mysql常用命令集锦(Linux/Windows)