Page 1 of 1

Getting make warning : clock skew detected

Posted: Sat Mar 10, 2018 1:58 pm
by Eshwar
Hi, i am new to the redpitaya platform. I am following the redpitaya documentation and i have successfully compiled my hello world("myFirstApp" originally) web app from the examples folder. However i am trying to compile my second app for LED toggling (Examples/web-tutorial/2.led). But i am getting following warnings after running the commands. I am able to run the app through browser but i cannot see LED toggling.

Code: Select all

root@rp-<xxxxxx>:/opt/redpitaya/www/apps# cd /opt/redpitaya/www/apps/2.led/
root@rp-<xxxxxx>:/opt/redpitaya/www/apps/2.led# rw
root@rp-<xxxxxx>:/opt/redpitaya/www/apps/2.led# make INSTALL_DIR=/opt/redpitaya
make: Warning: File 'Makefile' has modification time 275942 s in the future
make: Nothing to be done for 'all'.
make: warning:  Clock skew detected.  Your build may be incomplete.
Any help is greatly appreciated

Re: Getting make warning : clock skew detected

Posted: Mon Mar 12, 2018 8:30 am
by amike88
Hi,

from make output it looks like you time is not set correctly. Check the date on your file with

Code: Select all

ls -l file.name
and current date set on your RP

Code: Select all

date
Now you can set your "date" to a later date than the Makefile with:

Code: Select all

date -s "19 APR 2012 11:14:00"
Then rerun the make command.

Code: Select all

# make clean
# make INSTALL_DIR=/opt/redpitaya