Re: Compilation problem with kernel 2.6.9

From: Jiri Slaby
Date: Mon Sep 24 2007 - 08:39:47 EST


On 09/24/2007 11:52 AM, Antoine Zen-Ruffinen wrote:
> Hello,
>
> I tried to compile the kernel 2.6.9 because I want to use it with
> RTLinux and that the only 2.6.x kernel supported. I used gcc 2.95.3 as
> recommended.
> But I have an error by compilation of process.c :
>
> CC arch/i386/kernel/process.o
> {standard input}: Assembler messages:
> {standard input}:777: Error: suffix or operands invalid for `mov'
> {standard input}:778: Error: suffix or operands invalid for `mov'
> {standard input}:978: Error: suffix or operands invalid for `mov'
> {standard input}:979: Error: suffix or operands invalid for `mov'
> {standard input}:1051: Error: suffix or operands invalid for `mov'
> {standard input}:1052: Error: suffix or operands invalid for `mov'
> {standard input}:1161: Error: suffix or operands invalid for `mov'
> {standard input}:1162: Error: suffix or operands invalid for `mov'
> {standard input}:1172: Error: suffix or operands invalid for `mov'
> {standard input}:1184: Error: suffix or operands invalid for `mov'
> make[1]: *** [arch/i386/kernel/process.o] Error 1
> make: *** [arch/i386/kernel] Error 2
>
> Can someone help me ?

Probably use older binutils, your gas is too new and doesn't like the input.

regards,
--
Jiri Slaby (jirislaby@xxxxxxxxx)
Faculty of Informatics, Masaryk University
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/