can't compile cvs/snapshot gcj for a week
Adrian Vance Custer
acuster@nopause.berkeley.edu
Sun Aug 27 13:07:00 GMT 2000
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
More information about the Java
mailing list