[kaffe] compilation errors with BoehmGC enabled
jserv at linux2.cc.ntu.edu.tw
jserv at linux2.cc.ntu.edu.tw
Thu Jul 22 18:41:21 PDT 2004
Hi all,
I attempt to build cvs head of kaffe with BoehmGC enabled,
and I found the following compilation errors:
(cd .libs && gcc-3.4 -c -fno-builtin "kaffe-binS.c")
rm -f .libs/kaffe-binS.c .libs/kaffe-bin.nm .libs/kaffe-bin.nmS
.libs/kaffe-bin.nmT
gcc-3.4 -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 -Wendif-labels -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 -Winline -Wlong-long -Wdisabled-optimization
-DENABLE_BINRELOC -o .libs/kaffe-bin main.o version.o .libs/kaffe-binS.o
-Wl,--export-dynamic -pthread ../kaffevm/.libs/libkaffevm.so
/home/jserv/expr/kaffe/kaffe/kaffevm/verifier/.libs/libkaffeverifier.so
/home/jserv/expr/kaffe/kaffe/kaffevm/boehm-gc/.libs/libkaffegc.so
/usr/lib/./libffi.so -lm ../../replace/.libs/libreplace.so
../../libltdl/.libs/libltdlc.a -ldl -Wl,--rpath -Wl,/opt/jre/lib/i386
-Wl,--rpath -Wl,/usr/lib/.
/home/jserv/expr/kaffe/kaffe/kaffevm/boehm-gc/.libs/libkaffegc.so:
undefined reference to `GC_push_all_stacks'
/home/jserv/expr/kaffe/kaffe/kaffevm/boehm-gc/.libs/libkaffegc.so:
undefined reference to `GC_malloc_atomic_uncollectable'
collect2: ld returned 1 exit status
make[3]: *** [kaffe-bin] Error 1
make[3]: Leaving directory `/home/jserv/expr/kaffe/kaffe/kaffe'
Any ideas? Thanks!
Jim Huang
More information about the kaffe
mailing list