On Thu, Apr 14, 2005 at 10:29:39AM -0700, Brian W. Carver wrote: > 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: >
[ ... ] > > 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. > Got a similar result here, for -rc2-mm3, as it seems: --------------------------------------------------------- cp -f arch/ppc/boot/simple/zvmlinux arch/ppc/boot/images/zImage.elf rm -f arch/ppc/boot/simple/zvmlinux CC arch/ppc/boot/openfirmware/dummy.o GEN arch/ppc/boot/openfirmware/image.o AS arch/ppc/boot/openfirmware/coffcrt0.o CC arch/ppc/boot/openfirmware/start.o AS arch/ppc/boot/openfirmware/misc.o CC arch/ppc/boot/openfirmware/common.o CC arch/ppc/boot/openfirmware/coffmain.o COFF arch/ppc/boot/openfirmware/coffboot lib/lib.a(string.o)(.text+0x57c): 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 `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.11' make: *** [stamp-build] Error 2 --------------------------------------------------------- see: <http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg76578.html> The good news: The following worked (omitting the 2.6.12-rc2-mm3 patch): tar xzvf linux-2.6.11.tar.gz cd linux-2.6.11/ bzip2 -cd ../../patch-2.6.12-rc2.bz2 | patch -p1 cp ../linux-2.6.10/.config . make oldconfig fakeroot make-kpkg clean time MAKEFLAGS="CC=gcc-3.4" fakeroot make-kpkg --append-to-version=-selinux1 --revision +20050415 kernel_image THE END: dpkg-deb: building package `kernel-image-2.6.12-rc2-selinux1' in `../kernel-image-2.6.12-rc2-selinux1_+20050415_powerpc.deb'. rm -f -r debian/tmp-image echo done > stamp-image make[1]: Leaving directory `/home/shorty/sources.2.6/kernel-org-source/linux-2.6.11' real 42m38.369s user 36m20.620s sys 3m21.830s :)))) Enjoy! Wolfgang PS: I forgot to apply one of benH's patches, I think it was one for better sleep support, only a few days old ... -- Wolfgang Pfeiffer http://profiles.yahoo.com/wolfgangpfeiffer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]