[Java-gnome-developer] Help me compile a Glade based app natively with GCJ
Brought to you by:
afcowie
From: Spyros S. <fou...@gm...> - 2005-11-02 16:44:05
|
Hi, I am trying to compile a simple app, which uses Glade with GCJ (GCC ver. 3.3.5 on SuSE 9.3). So I type: gcj -classpath /usr/share/java/gtk2.4.jar:/usr/share/gnome2.8.jar:/usr/share/java/glade2.8= .jar -lgtkjar2.4 -lgnomejar2.8 -lgladejar2.8 --main=3DMain -o Main Main.java What I get as a result is: /tmp/ccYlRfbE.o(.text+0x30): In function `main': ccADRhVT.i: undefined reference to `Main::class$' collect2: ld returned 1 exit status I do not have a clue on what to do from that point. It seems like a linker error (correct me if I am wrong). Do you have any ideas on what to do? Thanx in advance, Spyros "Foucault" Stathopoulos |