[kaffe] compile on netbsd fails
Guilhem Lavaux
guilhem at kaffe.org
Wed Aug 6 03:46:01 PDT 2003
Hi Milos,
M.Negovanovic wrote:
>Hi,
>
>gcc -DTRANSLATOR -DJIT3 -DKVER=\"1.1.1\" -I. -I. -I../../../../config
>-I../../../../include/kaffe -I. -I. -I../.. -I./../..
>-I../../../../config -I../../../../config -I../../../../include
>-I../../../../include -I../../../../kaffe/xprof -I../../../../include
>-DKVER=\"1.1.1\" -I/home/milosn/projects/java/kaffe/./kaffe/kaffevm
>-I/home/milosn/projects/java/kaffe/./kaffe/kaffevm/jit3
>-I/home/milosn/projects/java/kaffe/./kaffe/kaffevm/systems/unix-jthreads -I../../../../config -I../../../../include -DKAFFE_VMDEBUG -march=i686 -O2 -pipe -Wall -Wstrict-prototypes -c jthread.c -Wp,-MD,.deps/jthread.TPlo -fPIC -DPIC -o .libs/jthread.o
>jthread.c: In function `interrupt':
>jthread.c:420: ndeclared (first use in this function)
>jthread.c:420: (Each undeclared identifier is reported only once
>jthread.c:420: for each function it appears in.)
>jthread.c: At top level:
>jthread.c:1936: warning: `removeQueueFro
>
Apparently, you forgot to add the definition of SIGNAL_ARGS compatible
with netbsd. I have seen in the source code it is not defined
the same way for each platform (except the first parameter "int sig").
So when the code does not find SIGNAL_ARGS it defines
by default this sort of thing:
#define SIGNAL_ARGS(a,b) int a
The problem is that it is not sufficient to handle exception frame with
the translator... have a look at i386/freebsd2/md.h for example.
Regards,
Guilhem.
More information about the kaffe
mailing list