Subject: Re: Kaffe anyone?
To: Andreas Drewke <andreas_dr@gmx.de>
From: Jachym Holecek <freza@liberouter.org>
List: port-hpcarm
Date: 01/18/2005 16:11:15
Hello,
Hello,
> on hpcarm
> /machine/signal.h declares struct sigcontext like this
>
> #ifndef _LOCORE
> #ifdef COMPAT_16
> struct sigcontext {
> ...
> }
>
> since the default kernel which I am using sets the option COMPAT_16, _LOCORE
> must be the reason that compiling Kaffe sais:
> ...
> signal.c:264: warning: `struct sigcontext' declared inside parameter list
> ...
The culprit is not _LOCORE but COMPAT_16, from cvs history for ARM signal.h:
signal.h 1.9 2 weeks joff Always expose struct sigcontext instead of just #ifdef COMPAT_16.
Maybe this didn't make it to 2.0? So either updating or declaring COMPAT_16
during Kaffe's build should help.
Btw, not that I'm completely sure, but _LOCORE is only defined when building
standalone (such as a bootloader) or low-level kernel code, to shield off
standard system environment where it might interfere.
Regards,
-- Jachym Holecek