[kaffe] unix-pthreads broken on sunos

Riccardo zuse at libero.it
Mon May 31 07:06:02 PDT 2004


Building kaffe with pthreads on solaris (sunos 5.6) fails:

In file included from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
pthreads/syscalls.c:21:
<cut>
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c: 
At top level:
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
207: warning: no previous prototype for `tDump'
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
249: warning: no previous prototype for `dump_signal_handler'
<cut>
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c: 
In function `tRun':
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
594: error: `PTHREAD_THREADS_MAX' undeclared (first use in this function)
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
594: error: (Each undeclared identifier is reported only once
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
594: error: for each function it appears in.)
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c: At 
top level:
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:421: 
warning: no previous prototype for `jthreadedConnect'
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c: 
In function `jthread_create':
./../../../../kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
702: error: `PTHREAD_THREADS_MAX' undeclared (first use in this function)


-Riccardo





More information about the kaffe mailing list