public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Compilation Problems with libjava
@ 2003-01-04 15:14 lowfill
  2003-01-04 15:21 ` lowfill
  2003-01-04 15:54 ` Andrew Haley
  0 siblings, 2 replies; 3+ messages in thread
From: lowfill @ 2003-01-04 15:14 UTC (permalink / raw)
  To: gcc, gcc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Compilation Problems with libjava
  2003-01-04 15:14 Compilation Problems with libjava lowfill
@ 2003-01-04 15:21 ` lowfill
  2003-01-04 15:54 ` Andrew Haley
  1 sibling, 0 replies; 3+ messages in thread
From: lowfill @ 2003-01-04 15:21 UTC (permalink / raw)
  To: gcc, gcc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Compilation Problems with libjava
  2003-01-04 15:14 Compilation Problems with libjava lowfill
  2003-01-04 15:21 ` lowfill
@ 2003-01-04 15:54 ` Andrew Haley
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Haley @ 2003-01-04 15:54 UTC (permalink / raw)
  To: lowfill; +Cc: java, gcc

lowfill@yahoo.com writes:
 > 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:

You need to build the *whole thing*, gcc, libjava, and all.

Run configure from the top level directory, not any of the subdirs.

Andrew.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-04 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-04 15:14 Compilation Problems with libjava lowfill
2003-01-04 15:21 ` lowfill
2003-01-04 15:54 ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).