Warning when compiling the kernel: A clock error is detected. Your creation may be incomplete.

Source: Internet
Author: User
During Linux kernel compilation, a warning is displayed:
Check
Clock error detected. Your creation may be incomplete.

Cause:

I paused once during kernel compilation, modified the system time, and changed the system time to the previous time, for example, the system time during kernel compilation.

It was, and I changed it. After the compilation is interrupted, the following warning is prompted when the kernel is re-compiled:

 

[Root @ localhost linux-2.6.9] # Make clean
Make: Warning: File '. config. cmd' has modification time 2.7e + 04 s in the future
Make [1]: Warning: file 'drivers/makefile' has modification time 2.7e + 04 s in the future
Make [1]: Warning: A clock error is detected. Your creation may be incomplete.
Make: Warning: A clock error is detected. Your creation may be incomplete.

 

Compile timeProgramThe file modification time is coming soon after the current time, so this warning is reported. Solution: (1) Change the current time

For the standard time (2) enter the kernel program directory and execute the following command:


Find.-Type F-exec touch {}/;

 

Then re-compile the kernel

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.