Clock skew detected. Your build may be incompleted.

Glen Turner glen.turner at
Fri Aug 13 14:40:42 CST 1999

> make: *** Warning:  Clock skew detected.  Your build may be incomplete.

`make' uses the last modification time on the files to
figure out what to build.  For example, if the modification
time of a.c is later than the modification time of a.out,
then a.c needs to me recomplied to create a new a.out.

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.

Given a standard make system, the quickest fix is:

   cd directory
   # Remove output files
   make clean
   # Put timestamps on all files equal to current time
   find . -exec touch {} \;
   # Rebuild all output files

You usually see these sort of problems in programming
enviroments that use NFS to share files but don't sync
clocks using NTP.

Similarly, if you wind the clock back you will see these
messages.  For that reason, when you wind back the clock
a moderate amount most UNIXen slow the clock ticks rather
than turn back time.

 Glen Turner                               Network Specialist
 Tel: (08) 8303 3936          Information Technology Services
 Fax: (08) 8303 4400         The University of Adelaide  5005
 Email: glen.turner at           South Australia

Check out the LinuxSA web pages at
To unsubscribe from the LinuxSA list:
  mail linuxsa-request at with "unsubscribe" as the subject

More information about the linuxsa mailing list