genkernel-3.4.0-r1 fails to build a kernel. HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost CC arch/ppc/kernel/asm-offsets.s In file included from arch/ppc/kernel/asm-offsets.c:19: include/linux/suspend.h:5:25: error: asm/suspend.h: No such file or directory make[1]: *** [arch/ppc/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 * Gentoo Linux Genkernel; Version 3.4.0 * Running with options: --genzimage all * ERROR: Failed to compile the "vmlinux" target... * -- End log... --
Created attachment 94039 [details] genkernel.log from failed genkernel --genzimage all
Try to run genkernel again. I had that bug once and with a second call of genkernel it could be compiled... Just want to know, if that works for you as well.
Another error this time: HOSTCC arch/powerpc/boot/hack-coff CC arch/powerpc/boot/dummy.o make[1]: *** No rule to make target `/ramdisk.image.gz', needed by `arch/powerpc/boot/miboot.initrd.image'. Stop. make[1]: *** Waiting for unfinished jobs.... OBJCOPY arch/powerpc/boot/vmlinux.bin make: *** [zImage.initrd] Error 2 * Gentoo Linux Genkernel; Version 3.4.0 * Running with options: --genzimage all * ERROR: Failed to compile the "zImage.initrd" target... Anyway, it does seem users that are going to try genkernel with 2006.1 to build a kernel may be in for some nasty suprises (and may waste quite a bit of time if they have an older machine like my B&W).
(In reply to comment #3) > * ERROR: Failed to compile the "zImage.initrd" target... Then, somehow, the initramfs is not created. I had troubles with it on the Pegasos. But I fixed genkernel. On an Apple it always worked. > Anyway, it does seem users that are going to try genkernel with 2006.1 to build > a kernel may be in for some nasty suprises (and may waste quite a bit of time > if they have an older machine like my B&W). Sounds like we have to give a lot of support then.
I've also builded a kernel with genkernel, but without --genzimage, just #genkernel all and it worked without problems on PowerBook G4
> Sounds like we have to give a lot of support then. Guess so, but I was just wondering if perhaps the Handbook should be changed a bit. If 'genkernel all' works as Peter Svec indicates, but 'genkernel --genzimage all' fails perhaps it makes sense to change that instruction in the Handbook. Just so that the instructions that are in the Handbook don't cause a known breakage.
I thought --genzimage was *only* for pegasos?
This really isn't an issue with the release media itself, but I'm keeping it assigned to us until someone else grabs it.
JoseJX, it's only in the PPC chapters (ppc-kernel). Could you take a look on it?
I took it out of the generic directions, so we should be okay now. Feel free to reopen if this is in error.