Makefile modification time

Topics about the Software of Revolution Pi
Post Reply
sna_inspiralia
Posts: 2
Joined: 05 Feb 2020, 16:25

Makefile modification time

Post by sna_inspiralia »

Good afternoon,

I'm not able to compile new software made in C. when I enter the make command the answer is:

"make: Warning: File 'Makefile' has modification time 743445599 s in the future
....
....
...
make: warning: Clock skew detected. Your build may be imcomplete"

And indeed, it haven`t build at all.

Thanks for your support.

Samir
User avatar
nicolaiB
KUNBUS
Posts: 931
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: Makefile modification time

Post by nicolaiB »

Hi Samir,

it looks like your clock is not set correctly. Check the output of the date command and make sure, that NTP (systemd-timesyncd) is configured correctly. If the RevPi has no connection to the internet, you have to set the correct time yourself and use a tool like fakehwclock to persist the settings accross power cycles.

Nicolai
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Makefile modification time

Post by dirk »

hi, yes you should check your system time and the modification time of the Makefile i.e. by using this commands
  • ls -l Makefile
  • date
  • timedatectl
@nicolaiB - happy 100th post and thank you for your quick response.
sna_inspiralia
Posts: 2
Joined: 05 Feb 2020, 16:25

Re: Makefile modification time

Post by sna_inspiralia »

Thanks for your fast response! Yes, I got access to internet and apply all the updates in the system and worked.

Bests!
Post Reply