WARNING: The file XXX is more recent than the corresponding absolute file.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WARNING: The file XXX is more recent than the corresponding absolute file.

Jump to solution
1,849 Views
CarlFST60L_3rd
Contributor I
This is probably simple, but I cannot understand how to fix this error when going to simulate. This message comes up in a dialog box when trying to load the simulator

"WARNING: The file c:\XXX\main.c is more recent than the corresponding absolute file.
Please recompile and link this source file before trying to debug.
Select OK to bla bla bla"

This code was works in the processor, but will not simulate.

I have tried deleting all object files, making a new project and copying the files accross, changing to new and old start up code/files... I dont really understand exactly what it means by "recompile and link this source", all i do is click make and it automatically comiles and links... (which makes me think the solution will be very simple, and probably obvious)

Codewarrior V6.0
Code was orgainally written in V5.7

Edit; I just realised that if i click ok, the same error comes up with each of the files it access, but, it actually simulates normally... Will need to still fix it due to the time it takes for each of the 15 odd WARNING's

Thanks,
Carl


Message Edited by CarlFST60L_3rd on 2007-09-03 01:49 PM
Labels (1)
Tags (1)
0 Kudos
1 Solution
571 Views
CrasyCat
Specialist III
Hello
 
I suspect you have an issue with paths settings.
The message "WARNING: The file c:\XXX\main.c is more recent than the corresponding absolute file" means that on your disk, the modification date for the file c:\XXX\main.c is more recent than the modification date of the .abs file.
 
Only reason I can see for that is:
  1- You are building on a PC and debugging on another one and the two PC do not have the same
       time/date settings.
   2- You are not using the same paths when building and when debugging.
   3- You are using recursive paths for building and there are several occurrence of the specified
       source  file in the tree
      
Can you check whether the paths specified in the debugger error window are the same as path specified in the IDE access Paths?
 
You can see the paths searched while debugging selecting File -> "Configuration" in the debugger. 
Look at all the paths specified in the General Path environment setting.
 
I would try to remove all recursive path to remove any random behavior.
If this does not help, then I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat

View solution in original post

0 Kudos
1 Reply
572 Views
CrasyCat
Specialist III
Hello
 
I suspect you have an issue with paths settings.
The message "WARNING: The file c:\XXX\main.c is more recent than the corresponding absolute file" means that on your disk, the modification date for the file c:\XXX\main.c is more recent than the modification date of the .abs file.
 
Only reason I can see for that is:
  1- You are building on a PC and debugging on another one and the two PC do not have the same
       time/date settings.
   2- You are not using the same paths when building and when debugging.
   3- You are using recursive paths for building and there are several occurrence of the specified
       source  file in the tree
      
Can you check whether the paths specified in the debugger error window are the same as path specified in the IDE access Paths?
 
You can see the paths searched while debugging selecting File -> "Configuration" in the debugger. 
Look at all the paths specified in the General Path environment setting.
 
I would try to remove all recursive path to remove any random behavior.
If this does not help, then I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat
0 Kudos