UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 14219

MicroBlaze - When "make" is run, "Warning: File `filename' has modification time in the future make[1]: warning: Clock skew detected. Your build may be incomplete" is reported

Description

Keywords: MicroBlaze, processor, make, future, clock skew

Urgency: Standard

General Description:
When I run "make", the following warnings appear:

"make: *** Warning: File `filename' has modification time in the future
make[1]: warning: Clock skew detected. Your build may be incomplete."

Solution

When "make" is run, it checks the last time that source files were modified to determine if the files have changed and need to be re-run through their respective processes. It normally assumes that if a target file has a time stamp that is after the source file's time stamp, then the source file has not been changed. (This means that "make" trusts the time stamps on the files.) In addition, "make" checks the system clock to ensure that the time stamps make sense.

The message above means that one or more of the files that "make" examined contains a time stamp that is later than the current system clock, and it is warning you that the assumptions made may not be correct. These messages often occur when files are moved from one machine to another (or, in a network environment, when files are used on a different machine than the one on which they were created). In this message, "skew" means that at some point, the clock was not what it should have been, according to "make".

You can use the "touch" command to set the time stamp on a file. Although it defaults to the current time, you may specify any time you wish. For details on the "touch" command, run "man touch" from a UNIX prompt.
AR# 14219
Date Created 03/18/2002
Last Updated 04/28/2006
Status Archive
Type General Article