Compilation problem with kernel 2.6.9
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 ?
Quoted 22 lines · Antoine Zen-Ruffinen
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 ofprocess.c:CC
arch/i386/kernel/process.o
{standard input}: Assembler messages:
{standard input}:777: Error: suffix or operands invalid formov' {standard input}:778: Error: suffix or operands invalid formov' {standard input}:978: Error: suffix or operands invalid formov' {standard input}:979: Error: suffix or operands invalid formov' {standard input}:1051: Error: suffix or operands invalid formov' {standard input}:1052: Error: suffix or operands invalid formov' {standard input}:1161: Error: suffix or operands invalid formov' {standard input}:1162: Error: suffix or operands invalid formov' {standard input}:1172: Error: suffix or operands invalid formov' {standard input}:1184: Error: suffix or operands invalid formov' make[1]: *** [arch/i386/kernel/process.o] Error 1
make: *** [arch/i386/kernel] Error 2
Quoted 1 line
Can someone help me ?
Probably use older binutils, your gas is too new and doesn't like the input.
regards,
Signature · 2 lines
Jiri Slaby ([email protected]) Faculty of Informatics, Masaryk University