[WBEL-users] Compiling from kernel-source-2.4.21-4.EL.i386.rpm
Kristian
kristian@hitech-sanita.it
Mon, 12 Jan 2004 12:33:00 +0100
Hi everyone!
I have just installed Whitebox Linux (Liberation) 3.0 and tried
compiling the same exact copy of the kernel that got installed by
default. So,
bash# uname -a
Linux sis 2.4.21-4.ELsmp #1 SMP Sat Dec 13 19:21:55 CST 2003 i686 i686
i386 GNU/Linux
bash#
Therefore I installed kernel-source-2.4.21-4.EL.i386.rpm and got:
bash# ls -d /usr/src/
/usr/src/linux-2.4.21-4.EL/
bash#
then copied the default /boot/config-2.4.21-4.ELsmp into
/usr/src/linux-2.4.21-4.EL/.config
Ran the usual:
bash# pwd
/usr/src/linux-2.4.21-4.EL/
bash# make menuconfig
<saved the configuration as it was>
bash# make dep
bash# make clean
bash# make bzImage
bash# make modules
Unfortunately the compilation fails with lots of errors.
The first object to fail compilation is "module.o".
Has anyone experienced this before? Is the RPM broken or
the default /boot/config-2.4.21-4.ELsmp corrupted?
--
Kristian <kristian@hitech-sanita.it>