This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: can't compile cvs/snapshot gcj for a week
- To: java-discuss at sources dot redhat dot com
- Subject: Re: can't compile cvs/snapshot gcj for a week
- From: Adrian Vance Custer <acuster at nopause dot berkeley dot edu>
- Date: Sun, 27 Aug 2000 13:09:59 -0700
Thanks Tom for the help and everyone for the compiler,
I downloaded gcc and libgcj from cvs on Sunday August 26th and both compiled.
To test them out I ran HelloWorld, having set my path and ld_lib variables.
The compile went fine but the exectuable choked with
./Hello
./Hello: error in loading shared libraries: /soft/Zgcc/lib/libzgcj.so.0:
undefined symbol: __dso_handle
The whole session is:
[acuster@tsetse HelloWorld]$ echo $PATH
/soft/Zgcc/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
[acuster@tsetse HelloWorld]$ echo $LD_LIBRARY_PATH
/soft/Zgcc/lib
[acuster@tsetse HelloWorld]$ cat HelloWorld.java
public class HelloWorld {
public static void main (String [] args){
System.out.println("Hello");
}
}
[acuster@tsetse HelloWorld]$ make HelloWorld
gcj --main=HelloWorld -o Hello HelloWorld.java
[acuster@tsetse HelloWorld]$ ./Hello
./Hello: error in loading shared libraries: /soft/Zgcc/lib/libzgcj.so.0:
undefined symbol: __dso_handle
[acuster@tsetse HelloWorld]$
Any ideas?
thanks,
adrian