make[2]: warning: Clock skew detected. Your build may be incomplete.

dear all

when i compile any file under solaris it gives the below warning how can i disable it

-bash-3.00$ make GNLPFT177
make: Warning: File `GNLPFT177.rc' has modification time 36 s in the future
make GNLPFT177.c
make[1]: Entering directory `/devapp/jordev/batch/source'
make[1]: Warning: File `GNLPFT177.rc' has modification time 36 s in the future
/usr/local/mss/bin/sqc GNLPFT177.rc
sqc GNLPFT177.rc: Compile complete.
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/devapp/jordev/batch/source'
make GNLPFT177.o
make[1]: Entering directory `/devapp/jordev/batch/source'
make[1]: Warning: File `GNLPFT177.c' has modification time 61 s in the future
gcc -g -DPRIMARY_REPORT -m64 -I/usr/local/mss/include -I../include -I../insert -c GNLPFT177.c
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/devapp/jordev/batch/source'
make GNLPFT177
make[1]: Entering directory `/devapp/jordev/batch/source'
make[1]: Warning: File `GNLPFT177.o' has modification time 61 s in the future
make[2]: Entering directory `/devapp/jordev/batch/source'
make[2]: Warning: File `GNLPFT177.o' has modification time 60 s in the future
gcc -m64 -o GNLPFT177 GNLPFT177.o -L../lib -lmodule -llinc_curs -L/usr/local/mss/lib -lreport -lmcs -L/oracle/product/10.2.0/client//lib/ -ln10 -lnl10 -lnls10 -lcore10 -lclntsh -lnbeq10 -lnhost10 -lnus10 -lnldap10 -lldapclnt10 -lnsslb10 -lntcp10 -lntcps10 -lnsslb10 -lntcp10 -lntns10 -lkstat -lnsl -lsocket -lgen -ldl -lsched -R/oracle/product/10.2.0/client//lib -laio -lposix4 -lm -lthread

make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Leaving directory `/devapp/jordev/batch/source'

make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/devapp/jordev/batch/source'
make: warning: Clock skew detected. Your build may be incomplete.

  1. Are you building over an NFS volume?

  2. you could do

find . -type f | xargs -n 5 touch
make clean
make

I was having the same problem.

Thanks for your help, porter... :slight_smile:

hhhmm... in regards to the below warning...
Warning message: Clock skew detected. Your build may be incomplete.

These warnings can occur when the clock on the build machine is out of sync with the timestamps on the source files. Other errors, apparently unrelated but in fact caused by the clock skew, can occur along with the clock skew warnings. These secondary errors may tend to obscure the fact that the true root cause of the problem is an out-of-sync clock. For example, an out-of-sync clock has been known to cause an old version of javac to be used to compile some files, resulting in errors when the pre-1.4 compiler ran across the new assert keyword in the 1.4 source code.
If you see these warnings, reset the clock on the build machine, run "gnumake clobber" or delete the directory containing the build output, and restart the build from the beginning.