Re: Kernel 2.2.17 with RedHat 7 Problem !

From: Mike A. Harris (mharris@opensourceadvocate.org)
Date: Sun Oct 22 2000 - 20:11:24 EST


On Mon, 23 Oct 2000, Hamid Hashemi Golpayegani wrote:

>Hi ,
>
>I have download kernel-2.2.17 from kernel.org and wanna to compile it under
>redhat 7 . when compiling start after few minutes show me this error message
>:
>
>make[2]: Entering directory `/usr/src/linux/arch/arch/i386/lib'
>gcc -D__KERNEL__ -I/usr/src/linux-2.2.17/include -D__ASSEMBLY__ -D__SMP__ -t
>raditional -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/arch/i386/lib'
>make[1]: *** [first_rule] Error 2
>make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
>make: *** [_dir_arch/i386/lib] Error 2
>
>I have install this kernel with same setting on RedHat 6.2 without any
>problem !
>Any idea ?

On Red Hat 7, you _MUST_ use the "kgcc" compiler to compile
kernels by editing the top level makefile and changing "gcc" to
"kgcc".

----------------------------------------------------------------------
      Mike A. Harris - Linux advocate - Open source advocate
              Computer Consultant - Capslock Consulting
                 Copyright 2000 all rights reserved
----------------------------------------------------------------------

Need general help or technical support with Red Hat Linux 6.2? Join the user
support mailing list by sending a message to "zoot-list-request@redhat.com"
with the word "subscribe" on the subject line.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:19 EST