Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is this “clock skew detected” messsage?

messsage
0
10 Posted

What is this “clock skew detected” messsage?

0

It’s a known problem of the MS-DOS FAT file system.

0

It’s a known problem of the MS-DOS FAT file system. Since the FAT file system has only a granularity of 2 seconds for maintaining a file’s timestamp, and it seems that some MS-DOS derivative (Win9x) perhaps rounds up the current time to the next second when calculating the timestamp of an updated file in case the current time cannot be represented in FAT’s terms, this causes a situation where make sees a ‘file coming from the future’. Since all make decisions are based on file timestamps, and their dependencies, make warns about this situation. Solution: don’t use inferior file systems / operating systems. Neither Unix file systems nor HPFS (aka NTFS) do experience that problem. Workaround: after saving the file, wait a second before starting make. Or simply ignore the warning. If you are paranoid, execute a make clean all to make sure everything gets rebuilt. In networked environments where the files are accessed from a file server, this message can also happen if the file server’s cl

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123