2005-02-04 01:24:10

by YhLu

[permalink] [raw]
Subject: 2.6.11-rc3 x86-64 compile err on suse 9.1

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


2005-02-04 08:24:13

by Andi Kleen

[permalink] [raw]
Subject: Re: 2.6.11-rc3 x86-64 compile err on suse 9.1

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

2005-02-05 01:46:24

by Thomas Zehetbauer

[permalink] [raw]
Subject: Re: 2.6.11-rc3 x86-64 compile err on suse 9.1

Same problem here on Fedora Core 3, I have put my .config and make
output at http://www.hostmaster.org/~thomasz/linux-2.6.11-rc3/

Tom

PS: Tyan Thunder K8W - works great!
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger [email protected] for key

Prohibiting cryptography to prevent terrorism is as meaningful as
...prohibiting mumming to prevent bank robbery!




Attachments:
signature.asc (481.00 B)
This is a digitally signed message part