Eclipse problem

This is a discussion on Eclipse problem within the C Programming forums, part of the General Programming Boards category; Hi, Today i have installed eclipse v3.3.2 + CDT on my 32-bit windows XP machine. While testing a simple "hello ...

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    16

    Eclipse problem

    Hi,

    Today i have installed eclipse v3.3.2 + CDT on my 32-bit windows XP machine. While testing a simple "hello world" i got the the following error


    **** Build of configuration Debug for project helloworld ****

    make all
    make: Warning: File `subdir.mk' has modification time 0.53 s in the future
    make: Nothing to be done for `all'.
    make: warning: Clock skew detected. Your build may be incomplete.
    my makefile is as below

    Code:
    all: hello
    
    hello: hello.o
    	gcc -o hello hello.o
    
    hello.o: hello.c
    	gcc -c hello.c
    can anybody tell me how to solve the problem?

    thanks.

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    the problem is with the timestamp on the build files. You can `touch` all of the files to fix this.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    16
    can you please explain more? I can not understand what 'touch' means.

  4. #4
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    edit and save the files. If you're on a linux box, you can use a command called "touch" to recursively touch each file.

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,629
    If you're on a linux box, you can use a command called "touch" to recursively touch each file.
    Windows has touch too.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem in debugging in Eclipse
    By Bargi in forum Linux Programming
    Replies: 1
    Last Post: 08-21-2007, 09:53 AM
  2. Replies: 6
    Last Post: 07-20-2007, 09:23 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM

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