This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: gcj --main error??
- To: Jeff Sturm <jeff dot sturm at appnet dot com>
- Subject: Re: gcj --main error??
- From: arno at heho dot snv dot jussieu dot fr (Arno J. Klaassen)
- Date: 09 Oct 2000 20:02:10 +0200
- Cc: java-patches at sourceware dot cygnus dot com, gcc at gnu dot org
- References: <39E1F6BE.3DED1EC8@appnet.com>
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'`
######