Bug 21655 - kernel compilation problem
Summary: kernel compilation problem
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: i586
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2000-12-03 20:32 UTC by Need Real Name
Modified: 2007-04-18 16:30 UTC (History)
0 users

Clone Of:
Last Closed: 2002-12-15 04:07:56 UTC

Attachments (Terms of Use)
temporary kernel configuration file for our target system (10.36 KB, text/plain)
2000-12-03 20:34 UTC, Need Real Name
no flags Details

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 

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.


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.

Note You need to log in before you can comment on or make changes to this bug.