lkml.org 
[lkml]   [2004]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectGNU make alleged of "bug" (was: PATCH: cdrecord: avoiding scsi device numbering for ide devices)
On Thu, 19 Aug 2004, Gene Heskett wrote:

> Humm, I got many many losses of header stuff messages from:
> [root@coyote cdrecord]# make --version
> GNU Make 3.80

The "bug" is not specific to GNU make 3.80 but can also be seen in
3.78.1 for instance.

The "bug" however is purely cosmetical.

GNU make writes a message that an "include" file is missing, but it
finds it has a rule, generates the include file, pulls it in and
continues as though the file had always been there.

For instance if you have this Makefile:

# BEGIN Makefile
all: hello
hello.d:
makedepend -f- hello.c >$@
include hello.d
# END Makefile

You'll get at "make" time:

Makefile:5: hello.d: No such file or directory
makedepend -f- hello.c >hello.d
cc hello.o -o hello

and a working hello program.

Jörg's complaints about GNU make aren't false but aren't helpful either
and certainly don't warrant waiting 15 seconds after that message.

There is no bug, just this confusing "Makefile:5: hello.d: No such file
or directory".

> So apparently 3.80 is a regression in this case.

No, it isn't.

--
Matthias Andree

NOTE YOU WILL NOT RECEIVE MY MAIL IF YOU'RE USING SPF!
Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.089 / U:1.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site