This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compilation Problems with libjava


Hello, How are you?
I download yesterday the cvs version of gcc to update
my system, but I have some problems when try to
compile libjava.

I'm use the following configure line:
../../libjava/configure --enable-threads
--with-system-zlib

then I compile with make and when try to link I have
the following error:

"(cd .libs && rm -f libgcj.la && ln -s ../libgcj.la
libgcj.la)
/bin/sh ./libtool --tag=GCJ --mode=link gcj
-B/root/dev/gcc/objdir/libjava/
-L/root/dev/gcc/objdir/libjava -ffloat-store -g -O2 
-o jv-convert --main=gnu.gcj.convert.Convert -rpath
/usr/local/lib -shared-libgcc  
-L/root/dev/gcc/objdir/libjava/.libs libgcj.la
gcj -B/root/dev/gcc/objdir/libjava/ -ffloat-store -g
-O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert
-shared-libgcc  -L/root/dev/gcc/objdir/libjava
-L/root/dev/gcc/objdir/libjava/.libs ./.libs/libgcj.so
-lpthread -ldl -lz
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../..
-lstdc++ -lm -lgcc_s -lc -lgcc_s -Wl,--rpath
-Wl,/usr/local/lib
./.libs/libgcj.so: undefined reference to
`_Unwind_FindEnclosingFunction'
collect2: ld returned 1 exit status
make[1]: *** [jv-convert] Error 1
make[1]: Leaving directory
`/root/dev/gcc/objdir/libjava'
make: *** [all-recursive] Error 1"

Can you help me with this problem?

Thansks

PD: Sorry by my English.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]