bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

incorrect error message


From: Bruno Haible
Subject: incorrect error message
Date: Thu, 16 Sep 2004 13:48:57 +0200
User-agent: KMail/1.5

An incorrect and highly onfusing error message of GNU make 3.80, on Linux x86.

To reproduce: In an otherwise empty directory, create this Makefile:

====================================
%.erg : ../bar
        echo done

%.erw : ../baz
        echo done

foo.res : ../baz
        echo done
====================================

$ make foo.erg
make: *** No rule to make target `foo.erg'.  Stop.
$ make foo.erw
make: *** No rule to make target `../baz', needed by `foo.erw'.  Stop.
$ make foo.res
make: *** No rule to make target `../baz', needed by `foo.res'.  Stop.

The first error message is incorrect and should look like the other two:
make: *** No rule to make target `../bar', needed by `foo.erg'.  Stop.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]