[kaffe] Linux/PPC Build Error

Michael Franz developer.franz at verizon.net
Sat Jun 5 11:59:02 PDT 2004


Hi,

The latest HEAD is causing this build error:
Summary
../../config/powerpc/linux/md.h:34: parse error before "mdGetStackSize"

Detail
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../../config -I../../include/kaffe  
-I../../kaffe/kaffevm/systems/unix-jthreads -Iintrp -I./intrp 
-I../../libltdl -DINTERPRETER -I../../kaffe/jvmpi -I../../kaffe/xprof 
-I../../include -I/home/mfranz/development/kaffe/./kaffe/kaffevm 
-I/home/mfranz/development/kaffe/./kaffe/kaffevm/intrp 
-I/home/mfranz/development/kaffe/./kaffe/kaffevm/systems/unix-jthreads 
-I../../config -I../../include  -DKAFFE_VMDEBUG -DKAFFE_FEEDBACK  -g 
-O2 -Wno-import -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int 
-Wmain -Wmissing-braces -Wmultichar -Wparentheses -Wsequence-point 
-Wreturn-type -Wswitch -Wtrigraphs -Wunused-function -Wunused-label 
-Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -W 
-Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast 
-Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare 
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute 
-Wpacked -Wredundant-decls -Wnested-externs -Wunreachable-code -Winline 
-Wlong-long -Wdisabled-optimization -fsigned-char -MT gc.lo -MD -MP -MF 
".deps/gc.Tpo" -c -o gc.lo gc.c; \
then mv -f ".deps/gc.Tpo" ".deps/gc.Plo"; else rm -f ".deps/gc.Tpo"; 
exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include/kaffe 
-I../../kaffe/kaffevm/systems/unix-jthreads -Iintrp -I./intrp 
-I../../libltdl -DINTERPRETER -I../../kaffe/jvmpi -I../../kaffe/xprof 
-I../../include -I/home/mfranz/development/kaffe/./kaffe/kaffevm 
-I/home/mfranz/development/kaffe/./kaffe/kaffevm/intrp 
-I/home/mfranz/development/kaffe/./kaffe/kaffevm/systems/unix-jthreads 
-I../../config -I../../include -DKAFFE_VMDEBUG -DKAFFE_FEEDBACK -g -O2 
-Wno-import -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int 
-Wmain -Wmissing-braces -Wmultichar -Wparentheses -Wsequence-point 
-Wreturn-type -Wswitch -Wtrigraphs -Wunused-function -Wunused-label 
-Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -W 
-Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast 
-Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare 
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute 
-Wpacked -Wredundant-decls -Wnested-externs -Wunreachable-code -Winline 
-Wlong-long -Wdisabled-optimization -fsigned-char -MT gc.lo -MD -MP -MF 
.deps/gc.Tpo -c gc.c -o gc.o
In file included from ../../config/powerpc/linux/md.h:15,
                  from ../../config/md.h:1,
                  from mem/gc-mem.h:17,
                  from mem/gc-incremental.c:21,
                  from gc.c:15:
../../config/powerpc/common.h:21:5: warning: "NEED_sysdepCallMethod" is 
not defined
In file included from ../../config/md.h:1,
                  from mem/gc-mem.h:17,
                  from mem/gc-incremental.c:21,
                  from gc.c:15:
../../config/powerpc/linux/md.h:34: parse error before "mdGetStackSize"
../../config/powerpc/linux/md.h:35: warning: return type defaults to 
`int'
../../config/powerpc/linux/md.h:35: warning: no previous prototype for 
`mdGetStackSize'
../../config/powerpc/linux/md.h: In function `mdGetStackSize':
../../config/powerpc/linux/md.h:36: storage size of `rl' isn't known
../../config/powerpc/linux/md.h:40: `RLIMIT_STACK' undeclared (first 
use in this function)
../../config/powerpc/linux/md.h:40: (Each undeclared identifier is 
reported only once
../../config/powerpc/linux/md.h:40: for each function it appears in.)
../../config/powerpc/linux/md.h:36: warning: unused variable `rl'
In file included from /usr/include/sys/resource.h:25,
                  from 
../../kaffe/kaffevm/systems/unix-jthreads/jthread.h:44,
                  from 
../../kaffe/kaffevm/systems/unix-jthreads/thread-impl.h:16,
                  from locks.h:16,
                  from mem/gc-incremental.c:22,
                  from gc.c:15:
/usr/include/bits/resource.h: At top level:
/usr/include/bits/resource.h:47: `RLIMIT_STACK' used prior to 
declaration
In file included from gc.c:15:
mem/gc-incremental.c: In function `gcMarkAddress':
mem/gc-incremental.c:292: warning: cast discards qualifiers from 
pointer target type
mem/gc-incremental.c:294: warning: passing arg 3 of 
`markObjectDontCheck' as signed due to prototype
In file included from gc.c:15:
mem/gc-incremental.c: In function `gcMarkObject':
mem/gc-incremental.c:305: warning: cast discards qualifiers from 
pointer target type
mem/gc-incremental.c:308: warning: passing arg 3 of 
`markObjectDontCheck' as signed due to prototype
In file included from gc.c:15:
mem/gc-incremental.c: In function `gcWalkConservative':
mem/gc-incremental.c:319: warning: cast discards qualifiers from 
pointer target type
mem/gc-incremental.c:324: warning: cast discards qualifiers from 
pointer target type
mem/gc-incremental.c:324: warning: negative integer implicitly 
converted to unsigned type
In file included from gc.c:15:
mem/gc-incremental.c: In function `gcGetObjectSize':
mem/gc-incremental.c:341: warning: cast discards qualifiers from 
pointer target type
mem/gc-incremental.c: In function `gcGetObjectIndex':
mem/gc-incremental.c:348: warning: cast discards qualifiers from 
pointer target type
In file included from gc.c:15:
mem/gc-incremental.c: In function `gcGetObjectBase':
mem/gc-incremental.c:383: warning: cast discards qualifiers from 
pointer target type
In file included from gc.c:15:
mem/gc-incremental.c: In function `gcMan':
mem/gc-incremental.c:491: warning: passing arg 2 of 
`locks_internal_waitCond' with different width due to prototype
In file included from gc.c:15:
mem/gc-incremental.c: In function `finaliserMan':
mem/gc-incremental.c:852: warning: passing arg 2 of 
`locks_internal_waitCond' with different width due to prototype
mem/gc-incremental.c: In function `gcInvokeGC':
mem/gc-incremental.c:953: warning: passing arg 2 of 
`locks_internal_waitCond' with different width due to prototype
mem/gc-incremental.c: In function `gcInvokeFinalizer':
mem/gc-incremental.c:978: warning: passing arg 2 of 
`locks_internal_waitCond' with different width due to prototype
mem/gc-incremental.c: In function `objectSizesAdd':
mem/gc-incremental.c:1334: warning: comparison between signed and 
unsigned
make[3]: *** [gc.lo] Error 1
make[3]: Leaving directory 
`/home/mfranz/development/kaffe/kaffe/kaffevm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/mfranz/development/kaffe/kaffe/kaffevm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mfranz/development/kaffe/kaffe'
make: *** [all-recursive] Error 1

Michael





More information about the kaffe mailing list