Help - Search - Members - Calendar
Full Version: Redhat Compile Error
Linuxhelp > Support > Technical Support
Can someone please decipher this?

I am using the old original .config file, confirming with make menuconfig, then running

[root@linux1 linux-2.4]# make dep && make clean && make bzImage && make modules && make modules_install

all goes fine until here:
make[3]: Entering directory `/usr/src/linux-2.4.20-8/drivers/parport'
rm -f driver.o
ar rcs driver.o
make[3]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/parport'
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/parport'
make -C pci
make[2]: Entering directory `/usr/src/linux-2.4.20-8/drivers/pci'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-8/drivers/pci'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wn o-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpr eferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_B ASENAME=pci -DEXPORT_SYMTAB -c pci.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wn o-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpr eferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_B ASENAME=quirks -c -o quirks.o quirks.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wn o-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpr eferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_B ASENAME=compat -c -o compat.o compat.c
make[3]: *** No rule to make target `/usr/src/linux-2.4.20-8/drivers/pci/devlist .h', needed by `names.o'. Stop.
make[3]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/pci'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/pci'
make[1]: *** [_subdir_pci] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/drivers'
make: *** [_dir_drivers] Error 2
[root@linux1 linux-2.4]#
any help appreciated,
Hello? Anybody? Please!
I'm not sure what the problem is ...

you might try this:

make sure you have a copy of the old config file somewhere other than .config in the kernel directory ...

make mrproper

copy the old file back into the /usr/src/linux-2.4 directory as .config

make oldconfig
answer any questions ... they are new items not in the old config file.

make menuconfig
verify your kernel is set the way you want.

I would then do each make seperately so you know which one breaks

make dep

make bzImage

make modules

make modules_install
Thanks, Ill give it a try tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.