Re: PROBLEM: Error compiling linux-2.6.9

From: Baruch Even
Date: Sat Dec 17 2005 - 12:48:57 EST


Huess wrote:
> [1.] Error compiling linux-2.6.9
> [2.] When I try to compile the kernel, executing make, the script
> returns an error.
> [3.]
> [4.] Linux version 2.6.13-15-smp (geeko@buildhost) (gcc version 4.0.2
> 20050901 (prerelease) (SUSE Linux)) #1 SMP Tue Sep 13 14:56:15 UTC
> 2005
> [5.]
> [6.] Running make, I obtain the following:
> piv2800ht:/usr/src/linux-2.6.9 # make vmlinux
> CHK include/linux/version.h
> make[1]: `arch/i386/kernel/asm-offsets.s' está actualizado.
> CHK include/linux/compile.h
>
> CC arch/i386/kernel/process.o
> arch/i386/kernel/process.c: In function 'show_regs':
> arch/i386/kernel/process.c:252: warning: pointer targets in passing
> argument 2 of 'show_trace' differ in signedness
> {entrada estándar}: Mensajes del ensamblador:
>
> {entrada estándar}:741: Error: sufijo u operandos inválidos para `mov'
> {entrada estándar}:742: Error: sufijo u operandos inválidos para `mov'
> {entrada estándar}:950: Error: sufijo u operandos inválidos para `mov'
>
> {entrada estándar}:951: Error: sufijo u operandos inválidos para `mov'
> {entrada estándar}:1027: Error: sufijo u operandos inválidos para `mov'
> {entrada estándar}:1028: Error: sufijo u operandos inválidos para `mov'
>
> {entrada estándar}:1125: Error: sufijo u operandos inválidos para `mov'
> {entrada estándar}:1126: Error: sufijo u operandos inválidos para `mov'
> {entrada estándar}:1220: Error: sufijo u operandos inválidos para `mov'
>
> {entrada estándar}:1232: Error: sufijo u operandos inválidos para `mov'
> make[1]: *** [arch/i386/kernel/process.o] Error 1
> make: *** [arch/i386/kernel] Error 2

Use http://www.google.ie/search?hl=en&q=linux-2.6-seg-5.patch to search
for the patch I used to solve a similar problem.

As Adrian said, the newer binutils are more strict on what they accept.

Baruch
-
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/