[kaffe] Problem compiling kaffe 1.1.6

Pierre pierre42d at 9online.fr
Mon Nov 14 23:47:03 PST 2005


I have now a third error :

[...]
make[2]: Entering directory `/tmp/kaffe-1.1.6/kaffe/kaffevm'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I. -I../../config  -I../../kaffe/kaffevm/systems/unix-pthreads 
-I../../kaffe/kaffevm/jni -I../../kaffe/kaffevm/jit3 
-I../../kaffe/kaffevm/jit3 -I../../libltdl -DTRANSLATOR -DJIT3 
-I../../kaffe/jvmpi -I../../kaffe/xprof -I../../include 
-I../../kaffe/kaffevm/verifier -I../../kaffe/kaffevm/jni 
-I/tmp/kaffe-1.1.6/./kaffe/kaffevm 
-I/tmp/kaffe-1.1.6/./kaffe/kaffevm/jit3 
-I/tmp/kaffe-1.1.6/./kaffe/kaffevm/systems/unix-pthreads -I../../replace 
-I../../binreloc -I../../config -I../../include -I/usr/local/include 
-I/usr/local/include/libxml2  -DNDEBUG -DKAFFE_FEEDBACK -D_REENTRANT 
-pthread -I/usr/local/include -I/usr/local/include/libxml2 -s -O3 
-march=i686 -Wall -W -Wextra -pthread -DENABLE_BINRELOC -MT 
libkaffevm_la-stats.lo -MD -MP -MF ".deps/libkaffevm_la-stats.Tpo" -c -o 
libkaffevm_la-stats.lo `test -f 'stats.c' || echo './'`stats.c; \
then mv -f ".deps/libkaffevm_la-stats.Tpo" 
".deps/libkaffevm_la-stats.Plo"; else rm -f 
".deps/libkaffevm_la-stats.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I../../config 
-I../../kaffe/kaffevm/systems/unix-pthreads -I../../kaffe/kaffevm/jni 
-I../../kaffe/kaffevm/jit3 -I../../kaffe/kaffevm/jit3 -I../../libltdl 
-DTRANSLATOR -DJIT3 -I../../kaffe/jvmpi -I../../kaffe/xprof 
-I../../include -I../../kaffe/kaffevm/verifier -I../../kaffe/kaffevm/jni 
-I/tmp/kaffe-1.1.6/./kaffe/kaffevm 
-I/tmp/kaffe-1.1.6/./kaffe/kaffevm/jit3 
-I/tmp/kaffe-1.1.6/./kaffe/kaffevm/systems/unix-pthreads -I../../replace 
-I../../binreloc -I../../config -I../../include -I/usr/local/include 
-I/usr/local/include/libxml2 -DNDEBUG -DKAFFE_FEEDBACK -D_REENTRANT 
-pthread -I/usr/local/include -I/usr/local/include/libxml2 -s -O3 
-march=i686 -Wall -W -Wextra -pthread -DENABLE_BINRELOC -MT 
libkaffevm_la-stats.lo -MD -MP -MF .deps/libkaffevm_la-stats.Tpo -c 
stats.c  -fPIC -DPIC -o .libs/libkaffevm_la-stats.o
stats.c: In function `statsReport':
stats.c:113: error: storage size of 'tot_usage' isn't known
stats.c:116: warning: implicit declaration of function `getrusage'
stats.c:116: error: `RUSAGE_SELF' undeclared (first use in this function)
stats.c:116: error: (Each undeclared identifier is reported only once
stats.c:116: error: for each function it appears in.)
stats.c:146: warning: int format, __time_t arg (arg 3)
stats.c:146: warning: int format, __suseconds_t arg (arg 4)
stats.c:146: warning: int format, __time_t arg (arg 5)
stats.c:146: warning: int format, __suseconds_t arg (arg 6)
stats.c:113: warning: unused variable `tot_usage'
stats.c: In function `startTiming':
stats.c:218: error: storage size of 'ru' isn't known
stats.c:225: error: `RUSAGE_SELF' undeclared (first use in this function)
stats.c:218: warning: unused variable `ru'
stats.c: In function `stopTiming':
stats.c:287: error: storage size of 'ru' isn't known
stats.c:289: error: `RUSAGE_SELF' undeclared (first use in this function)
stats.c:287: warning: unused variable `ru'
make[2]: *** [libkaffevm_la-stats.lo] Error 1
make[2]: Leaving directory `/tmp/kaffe-1.1.6/kaffe/kaffevm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/kaffe-1.1.6/kaffe/kaffevm'
make: *** [all-recursive] Error 1




More information about the kaffe mailing list