Darryl Harvey <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I am trying to compile a custom kernel with an install of RH7.0 (Plus updates)
> 
> It is always failing on this area:
> 
> make[2]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/mm'
> make[1]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/mm'
> make -C  arch/i386/lib
> make[1]: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib'
> make all_targets
> make[2]: Entering directory `/usr/src/linux-2.2.17/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.17/arch/i386/lib'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/lib'
> make: *** [_dir_arch/i386/lib] Error 2
> [root@mta linux]#

There is a bug in the kernel code[1] - the recommended way to deal with
it, is to use "kgcc", not "gcc" (kgcc is an older version, to which
the 2.2 kernel was matched)

[1] Fixed in 2.4. and later 2.2
-- 
Trond Eivind Glomsrød
Red Hat, Inc.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to