Hamid,
RedHat includes two versions of gcc. gcc-2.96 is a developmental snapshot
of the compiler project and is not able to build a kernel. Also included
is kgcc, as in KernelGCC, which is what you should be using. If you don't
have the kgcc...rpm installed, install that and use it.
David
At 04:54 PM 10/22/00, 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 ?
>
>Thank You
>Hamid Hashemi
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [EMAIL PROTECTED]
>Please read the FAQ at http://www.tux.org/lkml/
--------------------------------------------------------
David Relson Osage Software Systems, Inc.
[EMAIL PROTECTED] 514 W. Keech Ave.
www.osagesoftware.com Ann Arbor, MI 48103
voice: 734.821.8800 fax: 734.821.8800
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/