This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


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

Re: gcj --main error??


Hi

> > [ .. ]
> > /var/tmp/ccX38829main.i:11: undefined reference to 
> > `gnu::gcj::convert::Convert::class$'
> 
> Update your compiler.  This patch (which has been committed) explains class$:
> 
> http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00085.html

thanx; I looked at it, and I doubt that is the problem: all
my revisions are newer than the ones mentionned in the PR:

Repository revision: 1.220   /cvs/gcc/egcs/gcc/cp/init.c,v
(PR: 1.213)
Repository revision: 1.78    /cvs/gcc/egcs/gcc/java/class.c,v
(PR: 1.74)
Repository revision: 1.60    /cvs/gcc/egcs/gcc/java/gjavah.c,v
(PR: 1.59)
Repository revision: 1.16    /cvs/gcc/egcs/gcc/java/jvgenmain.c,v
(PR: 1.15)
Repository revision: 1.32    /cvs/gcc/egcs/gcc/java/jvspec.c,v
(PR: 1.31)

I start thinking that compiling out of the source tree might
be the origin of the problem; I found one bug already (see patch);
I'm sure about the bug, not about the patch, BTW.

Arno

######
Index: configure
===================================================================
RCS file: /cvs/java/libgcj/libjava/configure,v
retrieving revision 1.67
diff -u -r1.67 configure
--- configure	2000/09/30 09:56:57	1.67
+++ configure	2000/10/09 17:18:38
@@ -4877,7 +4877,7 @@
    fi
 
    if test -z "${with_multisubdir}"; then
-      builddotdot=.
+      builddotdot=$srcdir/.
    else
 
       builddotdot=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`

######

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