makefile error

This is a discussion on makefile error within the Tech Board forums, part of the Community Boards category; Hi I'm getting a strange makefile error: make: warning: Clock skew detected. Your build may be incomplete. What does it ...

  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    65

    makefile error

    Hi

    I'm getting a strange makefile error:

    make: warning: Clock skew detected. Your build may be incomplete.

    What does it mean?
    Shuo

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    It means that some file(s) are "newer" than the current time. This can be caused by two things:
    1. You are writing files using different time settings - e.g saving a file across a network, where the server and the local machine have different time.
    2. Using FAT filesystem, the date/time of a file is on a 2 second boundary, so a file created during the make, may jump forward about 1 second, causing it to be 1 second ahead of "current time".

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,761
    Another possibility is your NTP daemon has updated the clock whilst you were building.

    IIRC, make has an option somewhere to configure just how much skew it will tolerate before throwing that error message.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Not as of this page:
    http://unixhelp.ed.ac.uk/CGI/man-cgi?make

    But of course there are literally dozen's of different implementations of make that do slightly different variations of switches and options.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,761
    Perhaps shuo would clarify the type of file system, OS, version of make etc?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 09:18 PM
  2. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 10:15 PM
  3. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 04:09 AM
  4. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  5. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 01:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21