Hello,
I received the following while compiling 2.4.1-ac10:
...
make[3]: *** No rule to make target '/usr/src/linux/drivers/pci/devlist.h', needed by names.o'. Stop
make[3]: Leaving directory '/usr/src/linux/drivers/pci'
make[2]: *** [first_rule] Error 2
...
I haven't looked into it, but the addition was between 2.4.1-ac9 and 2.4.1-ac10. 2.4.2-pre3 didn't have this problem.
Regards,
Frank
On Sun, 11 Feb 2001 17:34:04 -0500 (EST),
Frank Davis <[email protected]> wrote:
>Hello,
> I received the following while compiling 2.4.1-ac10:
>...
>make[3]: *** No rule to make target '/usr/src/linux/drivers/pci/devlist.h', needed by names.o'. Stop
>make[3]: Leaving directory '/usr/src/linux/drivers/pci'
>make[2]: *** [first_rule] Error 2
None of the 2.4.1-ac patches hit drivers/pci/Makefile. You have
corrupted your source somewhere. Building from 2.4.1-pristine +
patch-2.4.1-ac10.bz2 gives this in drivers/pci/Makefile.
names.o: names.c devlist.h classlist.h
devlist.h classlist.h: pci.ids gen-devlist
./gen-devlist <pci.ids
gen-devlist: gen-devlist.c
$(HOSTCC) $(HOSTCFLAGS) -o gen-devlist gen-devlist.c
Hello, Keith!
I also noticed this error when I upgraded from ac9 to ac11.
My understanding is that if "make depend" is run on the sources that have
already been compiled, then names.o depends on devlist.h (with full path)
is ".depend".
If I run "make clean" first, then everything is fine. But I think that
something must have been broken in ac10. I'm always running "make clean"
after "make depend" and it's the first time that I have a problem with it.
Regards,
Pavel Roskin