gcj/319: builderror libgcj-snapshot-2000-08-15
Tom Tromey
tromey@cygnus.com
Wed Aug 16 15:30:00 GMT 2000
The following reply was made to PR gcj/319; it has been noted by GNATS.
From: Tom Tromey <tromey@cygnus.com>
To: j_duin@hotmail.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/319: builderror libgcj-snapshot-2000-08-15
Date: 16 Aug 2000 16:26:21 -0600
>>>>> "joop" == j duin <j_duin@hotmail.com> writes:
joop> linker error when building libgcj
joop> /usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/natClass.cc(.data+0x4): multiple definition of `java::lang::Class virtual table'
joop> java/lang/Class.lo:/usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/Class.java:124: first defined here
joop> java/lang/natObject.lo: In function `java::lang::Object::getClass(void)':
joop> /usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/natObject.cc:52: multiple definition of `java::lang::Object virtual table'
joop> java/lang/Object.lo:/usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/Object.java:50: first defined here
We've seen this before.
By some chance did gcjh generate a `Class.h' and an `Object.h' in your
build directory? If so then that is the problem.
Did you configure in the source tree? (You shouldn't be able to do
that.) What version of `make' are you using?
Tom
More information about the Java-prs
mailing list