'patch' to compile 0.9.1 on glibc2 linux-2.0.x
3-417.3 Ales Pour
A.Pour at sh.cvut.cz
Sun Jun 29 22:42:21 PDT 1997
> > exception.c: In function `nullException':
> > exception.c:202: `sig' undeclared (first use this function)
> > exception.c:202: (Each undeclared identifier is reported only once
> > exception.c:202: for each function it appears in.)
> > exception.c:205: parse error before `.'
> > exception.c:205: parse error before `.'
> > exception.c: In function `arithmeticException':
> > exception.c:222: `sig' undeclared (first use this function)
> > exception.c:224: parse error before `.'
> > exception.c:224: parse error before `.'
>
> This would seem to be a failure to define the EXCEPTIONPROTO macro in
> config/i386/linux/jit-md.h - I guess your systems falls between the two
> options available. Can you work out what's wrong exactly without
> breaking these configuration and send a patch?
>
> Cheers
> Tim
The following change solved the trouble (sorry it is not a REAL patch
since I don't know how to make such...;-) :
I've changed lines 46,47 from
#elif defined(HAVE_STRUCT_SIGCONTEXT)
/* Linux >= 2.1.1 */
to
#elif defined(HAVE_STRUCT_SIGCONTEXT) || defined(__GLIBC__)
/* Linux >= 2.1.1 or Linux 2.0.x with glibc2 */
and it worked for me...
Regards,
Ales
More information about the kaffe
mailing list