This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]