Re: Kernel Build error (objdump fails)
From: Sam Ravnborg
Date: Thu Sep 02 2004 - 15:24:16 EST
On Thu, Sep 02, 2004 at 09:39:49PM +0200, Oliver Antwerpen wrote:
> Hi folks,
>
> when compiling the linux kernel (I tried 2.6.8, 2.6.8.1, 2.6.9-rc1) I get:
>
> CC arch/i386/kernel/acpi/sleep.o
> AS arch/i386/kernel/acpi/wakeup.o
> LD arch/i386/kernel/acpi/built-in.o
> arch/i386/kernel/acpi/boot.o: file not recognized: File truncated
> make[2]: *** [arch/i386/kernel/acpi/built-in.o] Error 1
> make[1]: *** [arch/i386/kernel/acpi] Error 2
> make: *** [arch/i386/kernel] Error 2
Strange...
Try the following:
rm arch/i386/kernel/acpi/boot.o
make V=1
Since you have tried several versions I assume this file has been rebuild,
so it will still fail.
Try:
nm -p arch/i386/kernel/acpi/boot.o
objdump -x arch/i386/kernel/acpi/boot.o
Try running the gcc command by hand and see if .o file is still bad.
Sam
-
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/