Build problem(libgcj on linuxppc(R5))

Will Sloan wsloan@occamnetworks.com
Wed Sep 8 14:52:00 GMT 1999


Hi all.
I am trying to build libgcj-2.95 for linuxppc. Even after applying the
patch that was posted to this mailing this, I'm still getting the same link
errors (ie, __throw and ____get_eh_table_language). After some looking
around, I found that __throw is supposed to live in libstdc++, but when I
checked, __throw is not in my libs. Is libstdc++ part of the gcc package or
glibc package??? Does anyone know how to get __throw and friends built into
the lib??
Thanks,
Will
jerry@zaphod.mc.vanderbilt.edu wrote:
> Hi,
>> I am trying to compile libgcj-2.95.1 on Linuxppc(R5) system. I have
> already successfully built gcc-2.95.1 with thread-enabled.
>> I got an libgcj.so error when compiling jv-convert, and here is the error
> output:
>> *****************
>> make[4]: Entering directory
> `/home/jerry/devel/libgcj/powerpc-unknown-linux-gnu/nof/libjava'
> .
> .
> .
> gcj -g -msoft-float -mstrict-align -o .libs/jv-convert
> --main=gnu.gcj.convert.Convert gnu/gcj/conve
> rt/BytesToUnicode.o gnu/gcj/convert/Convert.o
> gnu/gcj/convert/Input_8859_1.o gnu/gcj/convert/Input_
> EUCJIS.o gnu/gcj/convert/Input_JavaSrc.o gnu/gcj/convert/Input_SJIS.o
> gnu/gcj/convert/Input_UTF8.o
> gnu/gcj/convert/Output_8859_1.o gnu/gcj/convert/Output_EUCJIS.o
> gnu/gcj/convert/Output_JavaSrc.o gn
> u/gcj/convert/Output_SJIS.o gnu/gcj/convert/Output_UTF8.o
> gnu/gcj/convert/UnicodeToBytes.o .libs/li
> bgcj.so ./../boehm-gc/.libs/libgcjgc.so
> -L/home/jerry/devel/libgcj/powerpc-unknown-linux-gnu/nof/li
> bjava/../boehm-gc/.libs -lpthread ./../zlib/.libs/libzgcj.so
> -L/home/jerry/devel/libgcj/powerpc-unk
> nown-linux-gnu/nof/libjava/../zlib/.libs
> -L/home/jerry/devel/libgcj/powerpc-unknown-linux-gnu/nof/l
> ibjava/.libs -Wl,--rpath -Wl,/opt/gcc/lib -Wl,--rpath -Wl,/usr/local/lib
>> >>>.libs/libgcj.so: undefined reference to `__throw'
> >>>.libs/libgcj.so: undefined reference to `__get_eh_table_language'
> >>>collect2: ld returned 1 exit status
> >>>make[4]: *** [jv-convert] Error 1
> **************
>> Is there a fix for this?
>> Also, this seems to be the last step of the make process. If there is no
> fix for it and I don't
> need jv-convert, is it safe to go head and run "make check" and "make -k
> install"?
>> Thanks!
>> Regards,
>> Jerry.



More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /