2002-12-03 10:28:40

by Fridtjof Busse

[permalink] [raw]
Subject: Compile error with 2.4.20-ac1

Hi
If I change an option (make menuconfig) and run 'make dep && make clean
bzImage modules modules_install' afterwards, I get:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -nostdinc -iwithprefix include
-DKBUILD_BASENAME=compat -c -o compat.o compat.c
make[3]: *** No rule to make target
`/usr/src/linux-2.4.20/drivers/pci/devlist.h', needed by `names.o'.
Stop.
make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/pci'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/pci'
make[1]: *** [_subdir_pci] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 2

If I run 'make dep && make clean bzImage modules modules_install' again,
without changing anything, the compilation doesn't give any errors and
the kernel runs fine.
But if I again change an option, same thing happens.

--
Fridtjof Busse
BOFH excuse #185:
system consumed all the paper for paging



2002-12-03 12:35:51

by Steffen Moser

[permalink] [raw]
Subject: Re: Compile error with 2.4.20-ac1

Hi!

* On Tue, Dec 03, 2002 at 11:35 AM (+0100), Fridtjof Busse wrote:

> If I change an option (make menuconfig) and run 'make dep && make clean
> bzImage modules modules_install' afterwards, I get:

You can try doing the "make clean" at first and the "mape dep"
then, i.e.:

make clean dep bzImage modules modules_install

HTH!

Regards,
Steffen