Compile error with 2.4.20-ac1

Fridtjof Busse (fridtjof@fbunet.de)
Tue, 3 Dec 2002 11:35:49 +0100


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

- 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/