IvLabs / SWAYAT_IMPROVED

Improvement of Swayat including hardware and software
5 stars 0 forks source link

make: warning: Clock skew detected. Your build may be incomplete. #7

Closed surabhi96 closed 7 years ago

surabhi96 commented 7 years ago

You may get warning of this type when: 1) You try to build after moving your data from one machine to another. 2) You try to build after restarting any old machine. This is due to the fact that sometimes when a machine is restarted its time and date settings get affected. Also when you transfer data from one machine to another one may get such an error because of the time difference form machine to machine. SOLUTION: Linux has a very handy 'the touch command'. How to Use: # touch Explanation: The touch command changes the time stamp of the file with the 'file name' give as argument to the command. For every file the Linux OS
ou can use the touch command for any number of files in the following manner:

  1. Just 'cd' into the directory where the files need a time-stamp update.
  2. Next use the following command which will update the time-stamps of all the files in the directory: $ find . -exec touch {} \;