Red Hat Bugzilla – Bug 21655
kernel compilation problem
Last modified: 2007-04-18 12:30:06 EDT
got a problem while recompiling the kernel 2.2.16 or 2.2.17 with
make: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib'
cc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c
checksum.S -o checksum.o
checksum.S:231: badly punctuated parameter list in #define
checksum.S:237: badly punctuated parameter list in #define
make: *** [checksum.o] Error 1
had to manually compile this module with -traditional.
Created attachment 5970 [details]
temporary kernel configuration file for our target system
This is a bug in the kernel source. It's fixed in later kernel releases.
BTW, you're supposed to use 'kgcc' to compile the 2.2 kernel.
I was getting the same error when compiling the kernel. I have Red Hat 7.0 cds from Cheap Bytes and was using
the source from the source cd SRPMS/kernel-2.2.16-22.src.rpm
I hunted around on the cds and found on the Install Disc #1 RedHat/RPMS/kernel-source-2.2.16-22.i386.rpm
When I installed that source and compiled, I had no errors.
Hope this helps.
BTW, the makefile in that source specifies kgcc as the compiler.