Skip to contentSkip to conversation

Compile error with 2.4.20-ac1

DISCUSSION Fridtjof Busse 2 participants 2 messages Dec 3, 2002

lore
Share & tools
lore
#0 lore raw

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.

Signature · 3 lines
Fridtjof Busse
BOFH excuse #185:
system consumed all the paper for paging
#1 lore raw

Hi!

Quoted 2 lines · * 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