Bug 31762 - Can't compile kernel using 7.0
Summary: Can't compile kernel using 7.0
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2001-03-14 04:56 UTC by John Eldred
Modified: 2007-04-18 16:32 UTC (History)
0 users

Clone Of:
Last Closed: 2001-03-14 04:56:56 UTC

Attachments (Terms of Use)

Description John Eldred 2001-03-14 04:56:53 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i586)

Have never had trouble compiling the kernel before - now under 7.0 I can
not compile.

Reproducible: Always
Steps to Reproduce:
1. Install 7.0.
2. Install kernel-source rpm
3. cd /usr/src/linux
4. make menuconfig, don't change anything, just select exit and click "Yes"
to save configuration. I.E. Vanilla configuration.
5. make dep
6. make bzImage

Actual Results:  This is the end of the compile output...

make -C  arch/i386/lib
make[1]: Entering directory `/usr/src/linux-2.2.16/arch/i386/lib'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.2.16/arch/i386/lib'
gcc -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
make[2]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2

Expected Results:  Expected compile to work.

Comment 1 Bill Nottingham 2001-03-14 19:43:31 UTC
For the 2.2 kernel, you need to use 'kgcc'; also, make sure that you
run 'make mrproper' first.

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