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

Andrae Muys a.muys at mailbox.uq.edu.au
Tue Jan 19 15:58:14 CST 1999


On Sun, 10 Jan 1999, Nigel Moore wrote:

> The way I fixed it was to 'touch' man touch every file called Make and
> Makefile on the whole system, I can't remember the exact command that I used
> but it was pretty complex (maybe someone else on the list may answer that
> one) and that made the date of every make file on the system to the current
> date, and it worked in the future. I don't know if this could cause
> problems, it depends on your setup and if you rely much on dates for
> compiling stuff. If not, then I reinstall looks like it is in the cards :))
> 
The command would probably look something like this

$find -name "[Mm]akeFile" -exec touch \{\} \;

check `man find` for further details.

`make` uses the last modified date stamp on each file to determine if it
needs to be recompiled.  If you have messed with the date on your machine,
then make can get confused.  `touch` sets the last modified date on the
file to the current date, which should fix this problem.

Don't forget, you will definately need to do a `make clean` after doing
this.

Andrae.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Andrae Muys              "Never ascribe to malice that which is adequately
andrae at humbug.org.au      explained by incompetence." - Napoleon Bonaparte

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request at linuxsa.org.au with "unsubscribe" as the subject



More information about the linuxsa mailing list