<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It could very well be timestamp issue, especially if you are editing
files on the network file system.<br>
<br>
Try <br>
gnumake -dd <br>
<br>
Log should provide some additional details while rule was skipped.<br>
<br>
-igor<br>
<br>
On 12/20/09 10:52 PM, Deepak Mathews wrote:
<blockquote
cite="mid:454434ce0912202252h1d38a88djd7774c0f1cda622@mail.gmail.com"
type="cite">Are you sure about the path to foo.cpp in the makefile is
correctly set during compilation.
<div><br>
</div>
<div>It also can be a timestamp issue, but only if the updated file
has a modification time older...it might be trivial... but the if
system time is behind it can cause this issue.. <br>
<br>
<div class="gmail_quote">On Mon, Dec 21, 2009 at 8:46 AM, David
Holmes - Sun Microsystems <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:David.Holmes@sun.com">David.Holmes@sun.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm
doing a build and get a compilation error in foo.cpp, so I fix the
problem that caused the error and make then aborts with<br>
<br>
"No rule to make target 'foo.cpp' needed by 'foo.o'. Stop"<br>
<br>
I have to do a clean and then re-build to get past this.<br>
<br>
This is building hotspot on linux and the make version is 3.81<br>
<br>
This is driving me nuts and wasting a lot of time!<br>
<br>
Anyone got any idea why make is doing this? It is as-if it can't find
the updated cpp file. Could it be a timestamp issue?<br>
<br>
Thanks,<br>
<font color="#888888">David Holmes<br>
</font></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>