[clug] Kernel compilation

Burn Alting burn at goldweb.com.au
Wed May 7 16:23:52 EST 2003

Hi Peoples,

I'm trying to compile the 2.4.20 kernel with 2.4.21-rc1 patches.

I grabbed linux-2.4.20.tar.bz2 and patch-2.4.21-rc1.bz2 and did

bunzip2 -c linux-2.4.20.tar.bz2 | tar xfo -
bunzip2 -c patch-2.4.21-rc1.bz2 | patch -p0

I then did

cd linux-2.4.20
make xconfig

which does

rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/home/burn/linux/linux-2.4.20/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
drivers/ide/Config.in: 46: can't handle dep_bool/dep_mbool/dep_tristate
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/home/burn/linux/linux-2.4.20/scripts'
make: *** [xconfig] Error 2

How do I get past this?

I assume that the -rc1 patch takes one from 2.4.20 to the 2.4.21-rc1 in
one step. If not, I've also grabbed the preX-preY patches from the incr
kernel site directory and incrementally patched from pre1 up to rc1 and
I still get the above error.

My host is a Xeon server - Redhat 8.0 running on a 2.4.20 kernel and gcc
is gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

Any/all help will be greatly appreciated.

Burn Alting

More information about the linux mailing list