Red Hat Bugzilla – Bug 18060
Failed to compile a kernel
Last modified: 2008-05-01 11:37:59 EDT
Cannot compile a new kernel,always exiting with
/usr/src/linux/arch/i386/lib/checksum.S in line #231 and #237
got the same error on an compaq proliant 2500 with 2 pentium pros.
failed to compile 2.2.16 (not the sources from redhat, but the standard ones)
maybe connected to our problem?
i got these warnings, too.
Use kgcc (the kernel building gcc). The mainstream kernel is still abusing a few
things the new gcc catches out. And yes its not documented well enough!
Well, I get the same error msg and as a result get no bzImage -- with or
without the "export CC=kgcc" before the make.
Aha. Found the problem! I really did forget to do the 'make mrproper' first! So
with makr mrproper and 'export CC=kgcc', the kernel compiled just fine (thank
you!) and the outcome was the bzImage file I wanted. Yippee! Thanks again.