On Thu, 2010-07-29 at 21:09 -0700, Peter Lawrence wrote:
make[3]: *** No rule to make target `real-install-headers-tar'.
Stop.
This is printed when you've invoked make and the target you asked
for on
the command line cannot be created (for example you ran "make foo" but
the makefile has no target "foo" defined). There's no line number or
filename information to provide, here, because the request came
from the
command line, not from inside the makefile.
here is where the offending command originates:
$(MAKE) real-$(INSTALL_HEADERS_DIR) DESTDIR=`pwd`/../gcc/ \
libsubdir=. ; \
So the sub-make is the one that generated the error message, and as I
mentioned it can't give you information about what line of the parent
make's makefile was the problem (just like your C compiler has no
way to
tell you what line of the makefile it was invoked from).
All that could be done in this case is that the parent make could be
asked to show filename/linenumber information for the target that
failed
(that is, the error after the error you quote above).
I'm certainly not asserting that GNU make couldn't do a better job
giving error messages with more details regarding where the error
happened, I'm just saying that this particular case is not quite so
clear-cut as it may appear at first.
--
----------------------------------------------------------------------
---------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --
Mad Scientist