This is the mail archive of the java@gcc.gnu.org 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] |
| Other format: | [Raw text] | |
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
" 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| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |