libgcj: undefined references while building

Olivier Louchart-Fletcher olivier.louchart@netregistry.au.com
Wed Oct 11 17:48:00 GMT 2000


I am trying to install the latest gcc / libgcj from CVS.

gcc went ok, I have now version 2.97.

However compiling libgcj end with the following message:

gcj -B/home/olivier/libgcj/i686-pc-linux-gnu/libjava/ -I../../../cvs/libgcj/libjava -g -ffloat-store -o .libs/jv-convert --main=gnu.gcj.convert.Convert gnu/gcj/convert/.libs/BytesToUnicode.o gnu/gcj/convert/.libs/Convert.o gnu/gcj/convert/.libs/Input_8859_1.o gnu/gcj/convert/.libs/Input_EUCJIS.o gnu/gcj/convert/.libs/Input_JavaSrc.o gnu/gcj/convert/.libs/Input_SJIS.o gnu/gcj/convert/.libs/Input_UTF8.o gnu/gcj/convert/.libs/Input_iconv.o gnu/gcj/convert/.libs/IOConverter.o gnu/gcj/convert/.libs/Output_8859_1.o gnu/gcj/convert/.libs/Output_EUCJIS.o gnu/gcj/convert/.libs/Output_JavaSrc.o gnu/gcj/convert/.libs/Output_SJIS.o gnu/gcj/convert/.libs/Output_UTF8.o gnu/gcj/convert/.libs/Output_iconv.o gnu/gcj/convert/.libs/UnicodeToBytes.o -L/home/olivier/libgcj/i686-pc-linux-gnu/libjava ./.libs/libgcj.so -ldl ./../boehm-gc/.libs/libgcjgc.so -L/home/olivier/libgcj/i686-pc-linux-gnu/libjava/../boehm-gc/.libs -lpthread ./../zlib/.libs/libzgcj.so -L/home/olivier/libgcj/i686-pc-linux-gnu/libjava/../zlib/.libs -L/home/olivier/libgcj/i686-pc-linux-gnu/libjava/.libs -Wl,--rpath -Wl,/usr/local/gcc/lib
./.libs/libgcj.so: undefined reference to `__pure_virtual'
./.libs/libgcj.so: undefined reference to `terminate(void)'
./.libs/libgcj.so: undefined reference to `__builtin_vec_new'
./.libs/libgcj.so: undefined reference to `__builtin_new'
collect2: ld returned 1 exit status
make[2]: *** [jv-convert] Error 1

Any idea?


-- 
Olivier.
_____________________________________________

NetRegistry     http://www.netregistry.au.com



More information about the Java mailing list