Compile errors patching 2.6.11 to 2.6.12-rc2
Hi all,
OK, now I am trying to patch the plain vanilla 2.6.11 to
2.6.12-rc2 (and then adding 2.6.12-rc2-mm3 as well.) The
kernel still doesn't compile. I did this:
cd /usr/src
wget
http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2
tar -jxf linux-2.6.11.tar.bz2
rm linux
ln -s linux-2.6.11 linux
cd linux
wget
http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.12-rc2.bz2
bunzip2 patch-2.6.12-rc2.bz2
patch -p1 <patch-2.6.12-rc2
[I actually applied Ben's sound patch here but now see
that -mm3 seems to include it plus more. When applying
-mm3 below the only error was on tumbler.c]
wget
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc2/2.6.12-rc2-mm3/2.6.12-rc2-mm3.bz2
bunzip2 2.6.12-rc2-mm3.bz2
patch -p1 <2.6.12-rc2-mm3
cp /boot/config-2.6.8-powerpc .config
make oldconfig #accepted the defaults on everything.
make-kpkg clean
make-kpkg --append-to-version=.050414 kernel_image
But then I get the following errors:
COFF arch/ppc/boot/openfirmware/coffboot
lib/lib.a(string.o)(.text+0x5cc): In function `kstrdup':
: undefined reference to `__kmalloc'
COFF arch/ppc/boot/images/vmlinux.coff
objcopy: 'arch/ppc/boot/openfirmware/coffboot': No such
file
make[3]: *** [arch/ppc/boot/images/vmlinux.coff] Error 1
make[2]: *** [openfirmware] Error 2
make[1]: *** [zImage] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11'
make: *** [stamp-build] Error 2
Thanks for any help.
Brian
Reply to: