[kaffe] OpenBSD 68K errors

Riccardo zuse at libero.it
Wed Jun 16 07:05:03 PDT 2004


Hello,

some headers/declaration are probably messed up now on OpenBSD/68k...

In file included from ../../../../../kaffe/config/config-std.h:26,
                 from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
jthreads/signal.c:14:
/usr/include/unistd.h:66: warning: redundant redeclaration of `cuserid' 
in same scope
/usr/include/stdio.h:275: warning: previous declaration of `cuserid'
/usr/include/unistd.h:95: warning: redundant redeclaration of `lseek' in 
same scope
/usr/include/sys/types.h:142: warning: previous declaration of `lseek'
In file included from ../../../../../kaffe/config/config-std.h:26,
                 from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
jthreads/signal.c:14:
/usr/include/unistd.h:141: warning: redundant redeclaration of 
`ftruncate' in same scope
/usr/include/sys/types.h:143: warning: previous declaration of 
`ftruncate'
/usr/include/unistd.h:213: warning: redundant redeclaration of 
`truncate' in same scope
/usr/include/sys/types.h:144: warning: previous declaration of 
`truncate'
In file included from ../../../../../kaffe/config/config-signal.h:16,
                 from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
jthreads/signal.c:15:
/usr/include/signal.h:50: warning: redundant redeclaration of `sys_
siglist' in same scope
/usr/include/unistd.h:165: warning: previous declaration of `sys_
siglist'
/usr/include/signal.h:115: warning: redundant redeclaration of `psignal' 
in same scope
/usr/include/unistd.h:164: warning: previous declaration of `psignal'
In file included from ../../../../config/../../kaffe/config/m68k/
openbsd2/md.h:23,
                 from ../../../../config/md.h:1,
                 from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
jthreads/jthread.h:41,
                 from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
jthreads/signal.c:18:
./../../../../kaffe/config/m68k/sysdepCallMethod.h: In function 
`sysdepCallMethod':
./../../../../kaffe/config/m68k/sysdepCallMethod.h:40: warning: 
function using alloca cannot be inline
In file included from ../../../../../kaffe/include/files.h:18,
                 from ../../../../../kaffe/kaffe/kaffevm/systems/unix-
jthreads/signal.c:22:
/usr/include/errno.h: At top level:
/usr/include/errno.h:45: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c: In 
function `registerSignalHandler':
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c: In 
function `unblockSignal':
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c: In 
function `unblockAsyncSignals':
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c: In 
function `blockAsyncSignals':
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
/usr/include/signal.h:69: warning: redundant redeclaration of `errno' in 
same scope
/usr/include/errno.h:45: warning: previous declaration of `errno'
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c: In 
function `setupSigAltStack':
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:352: 
syntax error before `newstack'
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:358: 
`newstack' undeclared (first use in this function)
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:358: (
Each undeclared identifier is reported only once
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:358: 
for each function it appears in.)
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c: At 
top level:
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:452: 
warning: no previous prototype for `kaffeNoopFunc'
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c: In 
function `detectStackBoundaries':
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:487: 
warning: passing arg 1 of `kaffeNoopFunc' with different width due to 
prototype
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:463: 
warning: `guessPointer' might be used uninitialized in this function
./../../../../kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:463: 
warning: variable `guessPointer' might be clobbered by `longjmp' or 
`vfork'
gmake[4]: *** [signal.lo] Error 1





More information about the kaffe mailing list