Bug 21655

Summary: kernel compilation problem
Product: [Retired] Red Hat Linux Reporter: Need Real Name <lcollot>
Component: kernelAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-15 04:07:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
temporary kernel configuration file for our target system none

Description Need Real Name 2000-12-03 20:32:31 UTC
got a problem while recompiling the kernel 2.2.16 or 2.2.17 with 
/usr/src/linux-2.2.17/arch/i386/lib/checksum.S

<<
make[2]: 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[2]: *** [checksum.o] Error 1
>>

had to manually compile this module with -traditional.

cheers

Comment 1 Need Real Name 2000-12-03 20:34:38 UTC
Created attachment 5970 [details]
temporary kernel configuration file for our target system

Comment 2 Bill Nottingham 2000-12-04 00:40:48 UTC
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.

Comment 3 Need Real Name 2001-04-26 09:03:45 UTC
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.