Click to See Complete Forum and Search --> : Error in 'make bzImage' when installing a new kernel


Seungwon Yang
04-08-2003, 02:34 PM
I am trying to install a new kernel for Redhat 8.0. I think that I failed to create bzImage. When I do 'make bzImage' I got an error
--------------------------------------------------------
make[2]: [misc.o] Error1
make[2]: Leaving directory '/home/seungwon/download/linux-2.4.19/arch/i386/boot/compressed'
make[1]: [compressed/bvmlinux] Error2
make[1]: Leaving directory '/home/seungwon/download/linux-2.4.19/arch/i386/boot/'
[bzImage]Error2.
--------------------------------------------------------
When I try to install the new kernel by doing
cp /home/seungwon/download/linux-2.4.19/arch/i386 /boot/bzImage /boot/vmlinuz-2.4.19-os
==> this gives an error saying "cannot stat '/home/seungwon/download/linux-2.4.19/arch/i386/boot/bzImage' No such file or directory"
I think that the failing in the above [bzImage]Error2 also makes this copy fail. What makes 'make bzImage' fail? and What can I do to fix it?
Thank you in advance.

rid3r
04-08-2003, 03:02 PM
not sure, but as root try to place your linux-2.4.19 in /usr/src (not in your home) directory.
do everything as root.
remove the shortcut (symlink) to your old kernel sorce:
ls -l /usr/src/
linux -> linux-2.4.18 linux-2.4.19
rm /usr/src/linux
then make one to the new one:
ln -s /usr/src/linux-2.4.19 /usr/src/linux
cd /usr/src/linux
make mrproper
make xconfig
make dep
make bzImage
......