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 ?
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 ([email protected])
Faculty of Informatics, Masaryk University