make[1]: *** 警告:文件的修改时间在将来2.1e+07

本文介绍了一种解决在使用git clone命令下载代码后出现的编译警告的方法。该警告提示某些文件的修改时间在未来。文章指出此问题是由于本地服务器时间与实际时间不一致造成的,并提供了一个命令来同步本地文件时间。

     在使用git clone 命令下载服务器的代码到本地后编译,有时会出现make[1]: *** 警告:文件的修改时间在将来2.1e+07的警告。后来发现是本地服务器的时间比正常时间慢10多分钟导致。这时可以使用:

find ./* -exec touch {} +

命令来同步本地的文件时间。

make: 警告文件Makefile”的修改时间未来 28377 后 [build] make[1]: 警告文件“CMakeFiles/Makefile2”的修改时间未来 28379 后 [build] make[2]: 警告文件“CMakeFiles/Makefile2”的修改时间未来 28379 后 [build] make[3]: 警告文件“CMakeFiles/stdlib_pch_exec.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告文件“src/bridge/CMakeFiles/libbridge-obj.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告文件“src/point-to-point/CMakeFiles/libpoint-to-point-obj.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告文件“src/traffic-control/CMakeFiles/libtraffic-control-obj.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告文件“src/stats/CMakeFiles/libstats-obj.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告文件“src/applications/CMakeFiles/libapplications-obj.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告文件“src/core/CMakeFiles/libcore-obj.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告文件“src/network/CMakeFiles/libnetwork-obj.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告文件“src/config-store/CMakeFiles/libconfig-store-obj.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告:检测到时钟错误。您的构建版本可能是不完整的。 [build] make[3]: 警告:检测到时钟错误。您的构建版本可能是不完整的。 [build] make[3]: 警告文件“CMakeFiles/stdlib_pch_exec.dir/progress.make”的修改时间未来 28379 后 [build] make[3]: 警告:检测到时钟错误。您的构建版本可能是不完整的。
最新发布
12-25
License option : check ansys licenses only *************************************************************** * ANSYS LEGAL NOTICES * *************************************************************** * * * Copyright 1971-2023 ANSYS, Inc. All rights reserved. * * Unauthorized use, distribution or duplication is * * prohibited. * * * * Ansys is a registered trademark of ANSYS, Inc. or its * * subsidiaries in the United States or other countries. * * See the ANSYS, Inc. online documentation or the ANSYS, Inc. * * documentation CD or online help for the complete Legal * * Notice. * * * *************************************************************** * * * THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION * * INCLUDE TRADE SECRETS AND CONFIDENTIAL AND PROPRIETARY * * PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. * * The software products and documentation are furnished by * * ANSYS, Inc. or its subsidiaries under a software license * * agreement that contains provisions concerning * * non-disclosure, copying, length and nature of use, * * compliance with exporting laws, warranties, disclaimers, * * limitations of liability, and remedies, and other * * provisions. The software products and documentation may be * * used, disclosed, transferred, or copied only in accordance * * with the terms and conditions of that software license * * agreement. * * * * ANSYS, Inc. is a UL registered * * ISO 9001:2015 company. * * * *************************************************************** * * * This product is subject to U.S. laws governing export and * * re-export. * * * * For U.S. Government users, except as specifically granted * * by the ANSYS, Inc. software license agreement, the use, * * duplication, or disclosure by the United States Government * * is subject to restrictions stated in the ANSYS, Inc. * * software license agreement and FAR 12.212 (for non-DOD * * licenses). * * * *************************************************************** Date: 07/04/2025 Time: 17:08:18 ___________________________________________________ | | | LS-DYNA, A Program for Nonlinear Dynamic | | Analysis of Structures in Three Dimensions | | Date : 03/26/2024 Time: 16:37:49 | | Version : smp s R14 | | Revision: R14.1.1-4-gaf1eb871e8 | | AnLicVer: 2024 R2 (20240501+dl-65-gb272478) | | | | Features enabled in this version: | | Shared Memory Parallel | | FFTW (multi-dimensional FFTW Library) | | Interactive Graphics | | ANSYSLIC enabled | | MADYMO indirect coupling (7.2 or higher) | | | | Platform : WINDOWS X64 SSE2 | | OS Level : Windows 8/10 & Srv 2016/2019/2022 | | Compiler : Intel Fortran XE 2019 MSVC++ 2019 | | Hostname : DESKTOP-J5NLHC2 | | Precision : Single precision (I4R4) | | | | Unauthorized use infringes Ansys Inc. copyrights | |___________________________________________________| [license/info] Successfully checked out 1 of "dyna". [license/info] --> Checkout ID: DESKTOP-J5NLHC2-HP-28816-006731 (days left: 3832) [license/info] --> Customer ID: 20230322 [license/info] Successfully started "ANSYS LSDYNA". Executing with ANSYS license Scale factor for file size = 70 new file size = 18350080 Use this scale factor on all restarts. Command line options: i=input.k S=input.intfor x=70 NCPU=1 Input file: input.k The native file format : 32-bit small endian Memory size from default : 100000000 on UNIX computers note the following change: ctrl-c interrupts ls-dyna and prompts for a sense switch. type the desired sense switch: sw1., sw2., etc. to continue the execution. ls-dyna will respond as explained in the users manual type response ----- ------------------------------------------------------------ quit ls-dyna terminates. stop ls-dyna terminates. sw1. a restart file is written and ls-dyna terminates. sw2. ls-dyna responds with time and cycle numbers. sw3. a restart file is written and ls-dyna continues calculations. sw4. a plot state is written and ls-dyna continues calculations. swa. ls-dyna flushes all output i/o buffers. swb. a dynain is written and ls-dyna continues calculations. swc. a restart and dynain are written and ls-dyna continues calculations. swd. a restart and dynain are written and ls-dyna terminates. swe. stop dynamic relaxation just as though convergence endtime=time change the termination time lpri toggle implicit lin. alg. solver output on/off. nlpr toggle implicit nonlinear solver output on/off. iter toggle implicit output to d3iter database on/off. prof output timing data to messag and continue. conv force implicit nonlinear convergence for current time step. ttrm terminate implicit time step, reduce time step, retry time step. rtrm terminate implicit at end of current time step. ******** notice ******** notice ******** notice ******** * * * This is the LS-DYNA Finite Element code. * * * * Neither LST nor the authors assume any responsibility for * * the validity, accuracy, or applicability of any results * * obtained from this system. Users must verify their own * * results. * * * * LST endeavors to make the LS-DYNA code as complete, * * accurate and easy to use as possible. * * Suggestions and comments are welcomed. Please report any * * errors encountered in either the documentation or results * * immediately to LST through your site focus. * * * * Copyright (C) 1990-2021 * * by Livermore Software Technology, LLC * * All rights reserved * * * ******** notice ******** notice ******** notice ******** Beginning of keyword reader 07/04/25 17:08:18 *** Error 10459 (KEY+459) item 2 of line is too long. At line# 80 of file C:\Users\HP\AppData\Local\Temp\WB_HP_9388_2\_ProjectScratch\Scr5EB8\input.k *** Error 10786 (KEY+786) Non-numeric (character) ID detected in input at field 1 of line 80 Please use "plabel=yes" on the command line. -------------------------------------------------------------------------- 2.1002E+8 2.100E+07 5.26E+6 -------------------------------------------------------------------------- *** Error 10157 (KEY+157) MAT 2 is not found *** Error 10304 (KEY+304) CHECKING MATERIAL INPUT Part ID= 2 PART ID 2 with SECTION ID 2 and MATERIAL ID 2 does not exist. This is PART 2 in the order of input. *** Error 10133 (KEY+133) input data failed with: 6 errors E r r o r t e r m i n a t i o n 07/04/25 17:08:19 Memory required to complete solution : 1078K Additional dynamically allocated memory: 12M Total: 13M T i m i n g i n f o r m a t i o n CPU(seconds) %CPU Clock(seconds) %Clock ---------------------------------------------------------------- Keyword Processing ... 1.0000E+00 100.00 4.7000E-01 46.72 KW Reading ......... 0.0000E+00 0.00 2.9600E-01 29.42 KW Writing ......... 1.0000E+00 100.00 1.1000E-02 1.09 Initialization ....... 0.0000E+00 0.00 5.3600E-01 53.28 ---------------------------------------------------------------- T o t a l s 1.0000E+00 100.00 1.0060E+00 100.00 Problem time = 0.0000E+00 Problem cycle = 0 Total CPU time = 1 seconds ( 0 hours 0 minutes 1 seconds) CPU time per zone cycle = 0.000 picoseconds Clock time per zone cycle= 0.000 picoseconds Number of CPU's 1 NLQ used/max 136/ 136 Start time 07/04/2025 17:08:18 End time 07/04/2025 17:08:19 Elapsed time 1 second for 0 cycles using 1 SMP thread ( 0 hour 0 minute 1 second ) E r r o r t e r m i n a t i o n 07/04/25 17:08:19
07-05
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值