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.
For the 2.2 kernel, you need to use 'kgcc'; also, make sure that you run 'make mrproper' first.