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] |
>>>>> "Sandro" == Sandro Hawke <sandro@roads.org> writes: Sandro> I installed RedHat 6.0 (glibc-2.1.1) and today's (May 3) CVS Sandro> snapshots of egcs and libcgj. EGCS built okay. The libgcj Sandro> died on dtoa.lo, so I made the fix to mprec.h mentioned a days Sandro> ago. Then the build continued on to natObject.lo, where I got Sandro> this: Did you ever figure this out? Sandro> /usr/local/build/libgcj-snapshot-1999-05-03/i686-pc-linux-gnu/libjava/../../../../src/libgcj-snapshot-1999-05-03/libjava/java/lang/natClass.cc:88: multiple definition of `java::lang::Class virtual table' Sandro> java/lang/Class.lo(.data+0x7d0):/usr/local/build/libgcj-snapshot-1999-05-03/i686-pc-linux-gnu/libjava/../../../../src/libgcj-snapshot-1999-05-03/libjava/java/lang/Class.java: first defined here I seem to recall that this can happen if you accidentally build Class.h using gcjh. Did this happen? You can tell if Class.h appears in the build (not source) tree. I also seem to recall that there might have been a bug along these lines introduced into egcs. You'd have to check the egcs bug archives to be sure. Sandro> Anyway, I'd appreciate any help, either in getting this Sandro> working or in telling me to just forget about it and check Sandro> back in a few more months. I'd rather work it out now. It works every day for me, and I don't have a clue how I would reproduce your problems. Tom