Re: 2.6.11-rc3 x86-64 compile err on suse 9.1

From: Andi Kleen
Date: Fri Feb 04 2005 - 03:29:12 EST


On Thu, Feb 03, 2005 at 05:13:05PM -0800, YhLu wrote:
> CC arch/x86_64/kernel/asm-offsets.s
> arch/x86_64/kernel/asm-offsets.c: In function `main':
> arch/x86_64/kernel/asm-offsets.c:65: error: invalid application of `sizeof'
> to an incomplete type
> arch/x86_64/kernel/asm-offsets.c:66: error: dereferencing pointer to
> incomplete type
> arch/x86_64/kernel/asm-offsets.c:67: error: dereferencing pointer to
> incomplete type
> make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
> make: *** [arch/x86_64/kernel/asm-offsets.s] Error 2

defconfig seems to compile at least, both SMP and UP.

Try a
cp .config backup ; make distclean ; cp backup .config ; make oldconfig
first. Sometimes the build system becomes confused.

If that doesn't help send me your .config.

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