[kaffe] compile on netbsd fails

M.Negovanovic milosn at bmf.bounceme.net
Wed Aug 6 03:33:02 PDT 2003


Hi,

after pasting:

#if defined(INTERPRETER)
#define DEFINEFRAME()           /* Does nothing */
#define EXCEPTIONPROTO          int sig
#define EXCEPTIONFRAME(f, c)    /* Does nothing */
#define EXCEPTIONFRAMEPTR       0
#elif defined(TRANSLATOR)
#define DEFINEFRAME()           exceptionFrame frame
#define EXCEPTIONFRAMEPTR       &frame
#endif /* TRANSLATOR */


into kaffe/kaffevm/systems/unix-jthreads/jthread.h i am still getting
this error:

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: `removeQueueFromBlockQueue'ut sed
gmake[4]: *** [jthread.lo] Error 1
gmake[4]: Leaving directory
`/home/milosn/projects/java/kaffe/kaffe/kaffevm/systems/unix-jthreads'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/home/milosn/projects/java/kaffe/kaffe/kaffevm/systems'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/home/milosn/projects/java/kaffe/kaffe/kaffevm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/milosn/projects/java/kaffe/kaffe'
gmake: *** [all-recursive] Error 1


This is CVS kaffe on netbsd.

Regards
Milos




More information about the kaffe mailing list