This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: internal compiler error: can't find class$
- From: "Jacob Gladish" <jake at gladish dot info>
- To: 'Thomas Léauté' <thleaute at csail dot mit dot edu>,<java at gcc dot gnu dot org>
- Date: Thu, 2 Sep 2004 13:58:20 -0400
- Subject: RE: internal compiler error: can't find class$
>
> OK; I have just re-implemented completely in java the class "coutUI"
> (now called "simpleUI"), and now the error message comes up during the
> linking phase:
>
> > /usr/bin/ld: Undefined symbols:
> > simpleUI::class$
> > simpleUI::simpleUI()
>
> You can see that it does not find the constructor either.
> I did the following:
>
> > gcj -C -classpath ./or124.jar:. *.java
> > gcjh simpleUI
> > g++-3.5 -c main.cpp
> > g++-3.5 -o test main.o -lgcj
>
>From the looks of this, it appears you have a java class simpleUI, but
you are not including the .o on the last line where you link.