ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/04/19/20:33:46

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: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
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 <jsturm AT one-point DOT com>
X-Sender: jsturm AT one-point DOT bright DOT net
To: "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com>
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: <Pine.LNX.4.10.10104192027340.10824-100000@one-point.bright.net>
MIME-Version: 1.0


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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019