This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
Re: libgcj/63: symbol `__vt_Q34java4lang5Class' is multiply defined
- To: tromey at cygnus dot com
- Subject: Re: libgcj/63: symbol `__vt_Q34java4lang5Class' is multiply defined
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 8 Oct 1999 15:50:04 -0000
- Cc: java-prs at sourceware dot cygnus dot com,
- Reply-To: Tom Tromey <tromey at cygnus dot com>
The following reply was made to PR libgcj/63; it has been noted by GNATS.
From: Tom Tromey <tromey@cygnus.com>
To: daniel.sadinoff@gs.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: libgcj/63: symbol `__vt_Q34java4lang5Class' is multiply defined
Date: Fri, 8 Oct 1999 08:45:26 -0700
In my build, "__vt_Q34java4lang5Class" is defined only in Class.o and
not natClass.o.
Are you using the C++ compiler that you built when you built the Java
compiler? If so, can you find out why it is putting the vtable into
natClass.o? It shouldn't.
FWIW, I haven't heard of this problem from anybody else.
What version of "make" are you using?
There is a remote possibility, I think, that your "Class.h" and
"Object.h" files were built by gcjh (most headers we use are generated
from the .class files, but these two should *not* be). You can see if
this is the case by looking for them in the build tree (they should
not be there). If the first line of either file says something about
being machine generated, then this is the problem.
Tom