0

How to solve the "Clock Skew detected. Your build may be incomplete" error in Fedora Linux?

I am getting this error while using the make command in the terminal.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
manu
  • 9
  • 2
  • 6
  • 2
    possible duplicate of [Compling C++ on remote Linux machine - "clock skew detected" warning](http://stackoverflow.com/questions/3824500/compling-c-on-remote-linux-machine-clock-skew-detected-warning) – Flexo Jul 31 '12 at 09:08

3 Answers3

3

Yes, definitely, cleaning up your codebase and then issuing find . -exec touch {} \; does the trick.

as the link said:

Sometimes the last modified time on the files is wrong:
because it is greater than the time of day clock.  `make'
then issues the above message.
You usually see these sort of problems in programming
enviroments that use NFS to share files but don't sync
clocks using NTP.
linello
  • 8,451
  • 18
  • 63
  • 109
2

Simple solution:

touch filename

will do all OK.

For more info: http://embeddedbuzz.blogspot.in/2012/03/make-warning-clock-skew-detected-your.html

Brijesh Valera
  • 1,085
  • 2
  • 9
  • 30
1

Have you seen Clock skew detected. Your build may be incompleted.?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Kermia
  • 4,171
  • 13
  • 64
  • 105