Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Thu, 19 Apr 2001 20:34:31 -0400 (EDT) From: Jeff Sturm X-Sender: jsturm AT one-point DOT bright DOT net To: "Billinghurst, David (CRTS)" cc: java AT gcc DOT gnu DOT org, cygwin-apps AT sources DOT redhat DOT com Subject: RE: gcj && libjava for cygwin In-Reply-To: <8D00C32549556B4E977F81DBC24E985DC849@crtsmail1.technol_exch.corp.riotinto.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 19 Apr 2001, Billinghurst, David (CRTS) wrote: > ./.libs/libgcj.a(natClass.o)(.text$_ZN4java4lang5ClassC1Ev+0x0): multiple > definition of `java::lang::Class::Class()' > ./.libs/libgcj.a(Class.o)(.text+0x3a0): first defined here > collect2: ld returned 1 exit status > make[2]: *** [jv-convert] Error 1 > > Any ideas? More fun with weak symbols, I think. Does this help? Index: java/lang/Class.h =================================================================== RCS file: /cvs/gcc/gcc/libjava/java/lang/Class.h,v retrieving revision 1.31 diff -u -p -r1.31 Class.h --- Class.h 2001/01/17 10:22:32 1.31 +++ Class.h 2001/04/20 00:27:23 @@ -197,7 +197,7 @@ public: // finalization void finalize (); - Class () {}; + Class (); // This constructor is used to create Class object for the primitive // types. See prims.cc.