This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Compilation Problems with libjava
- From: <lowfill at yahoo dot com>
- To: gcc at gnu dot org, gcc at gcc dot gnu dot org
- Date: Sat, 4 Jan 2003 07:14:40 -0800 (PST)
- Subject: 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