Make modules_prepare not work

Hi
I just receive my Toradex and installed ready to use L4T by easy installer.
I have a problem when i run make modules_prepare in /usr/src/linux-headers-3.10.40-ge78bb38 folder

root@tegra-ubuntu:/usr/src/linux-headers-3.10.40-ge78bb38# make modules_prepare
make: Warning: File `/usr/src/linux-headers-3.10.40-ge78bb38/arch/arm/Makefile' has modification time 5.8e+08 s in the future
make[1]: Warning: File `/usr/src/linux-headers-3.10.40-ge78bb38/arch/arm/Makefile' has modification time 5.8e+08 s in the future
make[2]: Warning: File `scripts/Makefile.host' has modification time 5.8e+08 s in the future
  HOSTCC  scripts/basic/fixdep
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `scripts/Makefile.host' has modification time 5.8e+08 s in the future
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make: Warning: File `/usr/src/linux-headers-3.10.40-ge78bb38/arch/arm/Makefile' has modification time 5.8e+08 s in the future
make[1]: Warning: File `/usr/src/linux-headers-3.10.40-ge78bb38/arch/arm/Makefile' has modification time 5.8e+08 s in the future
make[2]: Warning: File `scripts/Makefile.host' has modification time 5.8e+08 s in the future
  HOSTCC  scripts/basic/fixdep
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `scripts/Makefile.host' has modification time 5.8e+08 s in the future
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make: Warning: File `/usr/src/linux-headers-3.10.40-ge78bb38/arch/arm/Makefile' has modification time 5.8e+08 s in the future
make[1]: Warning: File `/usr/src/linux-headers-3.10.40-ge78bb38/arch/arm/Makefile' has modification time 5.8e+08 s in the future
make[2]: Warning: File `scripts/Makefile.host' has modification time 5.8e+08 s in the future
  HOSTCC  scripts/basic/fixdep
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `scripts/Makefile.host' has modification time 5.8e+08 s in the future
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make: Warning: File `/usr/src/linux-headers-3.10.40-ge78bb38/arch/arm/Makefile' has modification time 5.8e+08 s in the future
make[1]: Warning: File `/usr/src/linux-headers-3.10.40-ge78bb38/arch/arm/Makefile' has modification time 5.8e+08 s in the future
make[2]: Warning: File `scripts/Makefile.host' has modification time 5.8e+08 s in the future
  HOSTCC  scripts/basic/fixdep
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `scripts/Makefile.host' has modification time 5.8e+08 s in the future
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o

the above results print again and again with no end!!!

Hi @Akrita and Welcome to the Toradex Community!

Concerning you issue, this message is usually shown when some of your files have modification times later than the current system time. Since make decides which files to compile when performing an incremental build by checking if a source files has been modified more recently than its object file, this situation can cause unnecessary files to be built, or worse, necessary files to not be built.

If you do a build from scratch, this should not be a problem. But for the incremental build, you need to setup the correct system time as explained here.

Best regards,
Jaski