internal compiler error: can't find class$

Thomas Léauté thleaute@csail.mit.edu
Thu Sep 2 19:33:00 GMT 2004


Le Sep 2, 2004, à 1:58 PM, Jacob Gladish a écrit :

>> 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.

Can't believe I forgot the .o file...
OK; now it all works, and I can start having fun! :-)
Thanks a lot again

Thomas

" We know what we think we know,
    Just as we don't know what we want to know "
                         Oscar Wilde
                         The Picture of Dorian Gray



More information about the Java mailing list