2002-02-20 16:00:51

by Pau Aliagas

[permalink] [raw]
Subject: 2.5.5 fails to compile


gcc -D__KERNEL__ -I/home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/thread_info.h:13,
from /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/linux/thread_info.h:10,
from /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/linux/spinlock.h:7,
from /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/linux/mmzone.h:8,
from /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/linux/gfp.h:4,
from /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/linux/slab.h:14,
from /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/linux/proc_fs.h:5,
from init/main.c:15: /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/processor.h:
In function `thread_saved_pc': /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/processor.h:444:
dereferencing pointer to incomplete type /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/processor.h:445:
warning: control reaches end of non-void function
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/home/pau/LnxZip/RPM/BUILD/kernel-2.5.4'
--

Pau


2002-02-20 19:49:10

by Robert Love

[permalink] [raw]
Subject: Re: 2.5.5 fails to compile

On Wed, 2002-02-20 at 11:00, Pau Aliagas wrote:

> from init/main.c:15: /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/processor.h:
> In function `thread_saved_pc': /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/processor.h:444:
> dereferencing pointer to incomplete type /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/processor.h:445:

This is 2.5.4, not 2.5.5, no?

The bug was fixed in 2.5.5-pre1 and thus in 2.5.5, too.

Robert Love

2002-02-20 19:55:10

by Pau Aliagas

[permalink] [raw]
Subject: Re: 2.5.5 fails to compile

On 20 Feb 2002, Robert Love wrote:

> On Wed, 2002-02-20 at 11:00, Pau Aliagas wrote:
>
> > from init/main.c:15: /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/processor.h:
> > In function `thread_saved_pc': /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/processor.h:444:
> > dereferencing pointer to incomplete type /home/pau/LnxZip/RPM/BUILD/kernel-2.5.4/include/asm/processor.h:445:
>
> This is 2.5.4, not 2.5.5, no?
>
> The bug was fixed in 2.5.5-pre1 and thus in 2.5.5, too.

Sorry, that's it. I compiled the bad tree :(

Pau