When compiling and installing a software package in Linux, the system prompts: Make: Warning: clock skew detected. Your build may be incomplete. Modify the date and time of the system and re-compile and install the system. Then, the error disappears. The method is as follows:
[Root @ server vsftpd-2.0.5] # date
Sat Jan 26 04:33:07 CST 2002
[Root @ server vsftpd-2.0.5] # date-s 12/11/2006
Mon Dec 11 00:00:00 CST 2006
[Root @ server vsftpd-2.0.5] # date-s 14:42:50
Mon Dec 11 14:42:50 CST 2006
[Root @ server vsftpd-2.0.5] # date
Mon Dec 11 14:43:00 CST 2006
[Root @ server vsftpd-2.0.5] # clock-W
[Root @ server vsftpd-2.0.5] # date
Mon Dec 11 14:43:33 CST 2006
Make again. When the system is started, the Linux operating system reads the time from CMOS to the system time variable. Later, the modification time is implemented by modifying the system time. To keep the system time consistent with the CMOS time, Linux writes the system time to CMOS at intervals. Because the synchronization is performed at intervals (about 11 minutes), after we execute date-s, if the machine is restarted immediately, the modification time may not be written to CMOS, this is the cause of the problem. To make sure the modification takes effect, run the following command: # clock-W, which forces the system time to be written to CMOS.
You can also run touch once on the file that prompts this problem, so there will be no compilation warning. For example, if you compile touch mediatek/custom/common/uboot/LCM/nt35510/nt35510.c, no problem will occur.
Http://linux.ctocio.com.cn/22/8916022.shtml ()