Add Comedi post.
[blog.git] / posts / warning:__Clock_skew_detected.mdwn
1 [[!meta  title="warning:  Clock skew detected"]]
2 [[!meta  date="2009-05-08 14:56:46"]]
3
4 I was running `make` to build [[Comedi]] against the current Hardy
5 kernel, and it died with
6
7     ...
8     make[1]: Warning: File `Makefile' has modification time 1.1e+02 s in the future
9     make[1]: Nothing to be done for `clean-am'.
10     make[1]: warning:  Clock skew detected.  Your build may be incomplete.
11     make[1]: Leaving directory `/thor/wking/src/lab/comedi/comedi-build'
12     make: warning:  Clock skew detected.  Your build may be incomplete.
13
14 “No problem,” thinks I, since I'd just rebooted into the new kernel,
15 but I'd pulled the source in under the old kernel.  I'll just `touch`
16 all the files to make sure their times are in the past.
17
18 Nope.  Same error.  Turns out my `touch` is from the future:
19
20     $ date; ll include/Makefile; touch include/Makefile; ll include/Makefile; date
21     Fri May  8 10:48:35 EDT 2009
22     -rw-r--r-- 1 wking wking 15540 2009-05-08 10:48 include/Makefile
23     -rw-r--r-- 1 wking wking 15540 2009-05-08 10:50 include/Makefile
24     Fri May  8 10:48:35 EDT 2009
25
26 This is because my files are NFS mounted from another computer, and
27 the clocks were out of sync by two minutes.  Time to setup
28 [NTP](http://www.ntp.org/) for the lab LAN ;).
29
30 [[!tag tags/linux]]