Re: [Java-gnome-developer] Help me compile a Glade based app natively with GCJ
Brought to you by:
afcowie
From: Andrew O. <ove...@re...> - 2005-11-02 21:32:09
|
Hi, * Spyros Stathopoulos <fou...@gm...> [2005-11-02 11:44]: > > 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=Main -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 Perhaps add . to the classpath (ie. -classpath <blah>:.)? Andrew |