This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>>>>> "Jonah" == Jonah Michaud <vector@rhythm.com> writes: Jonah> Actually what I did was build in a dir where each file was Jonah> linked to the original (for the multiple platform reason). But Jonah> I guess that fails for the same reason as building in the Jonah> original dir. Yeah. With a GNU-style you don't need symlink trees anyway. At least, not if you use GNU make (which you need anyway for libgcj). Jonah> ld: fatal: symbol `java::lang::Object virtual table' is multiply Jonah> defined: Jonah> (file ./libgcj.a(Object.o) and file ./libgcj.a(natObject.o)); Jonah> ld: fatal: symbol `java::lang::Class virtual table' is multiply defined: Jonah> (file ./libgcj.a(Class.o) and file ./libgcj.a(natClass.o)); I haven't seen this before. In my build the Object virtual table is defined in Object.o and not natObject.o. To me this implies that something is wrong with your C++ compiler. Jonah> It didn't build jv-convert but it did build libgcjgc.a libgcj.zip Jonah> libgcj.a which I copied by hand into /usr/local/lib. Use `make -k install' instead. Jonah> % gcj Disk.java Jonah> Disk.java:1: Can't find default package `java.io'. Check the CLASSPATH Jonah> environment variable and the access to the archives. Jonah> I started to set the CLASSPATH but I can't find where java.io Jonah> etc are located. I guess in a shared library (I'm using java Jonah> 1.2, is that bad?) Maybe I will try on an sgi with java 1.1.7 Jonah> tonight. You shouldn't have to set CLASSPATH. The problem is that you installed libgcj.zip in the wrong place. You shouldn't need any version of the JDK to install or use libgcj. It should be standalone (modulo a known problem in the test suite). Tom