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
    20,975
    If you're on a linux box, you can use a command called "touch" to recursively touch each file.
    Windows has touch too.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    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