ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/04/20/09:44:03

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
Message-ID: <8D00C32549556B4E977F81DBC24E985DC85B@crtsmail1.technol_exch.corp.riotinto.org>
From: "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com>
To: "'Jeff Sturm'" <jsturm AT one-point DOT com>
Cc: java AT gcc DOT gnu DOT org, cygwin-apps AT sources DOT redhat DOT com
Subject: RE: gcj && libjava for cygwin
Date: Fri, 20 Apr 2001 13:29:28 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Yes.  That fixed it, to reveal another. 

> -----Original Message-----
> From:	Jeff Sturm [SMTP:jsturm AT one-point DOT com]
> Sent:	Friday, April 20, 2001 10:35 AM
> 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
> 
> 
> 
> 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