[Java-gnome-developer] [ java-gnome-Bugs-648648 ] native compilation fails
Brought to you by:
afcowie
From: SourceForge.net <no...@so...> - 2003-11-16 12:07:53
|
Bugs item #648648, was opened at 2002-12-04 21:53 Message generated for change (Comment added) made by howama You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101522&aid=648648&group_id=1522 Category: build Group: defect >Status: Closed Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: native compilation fails Initial Comment: I can get class files using all the libraries, but my efforts to compile, say, src/examples/glade/Examples1.java into a native binary have so far all failed with errors like: ../lib/libGTKJar.so: undefined reference to `org::gnu::gtk::SpinButton::gtk_spin_button_get_adjustment(int)' My command line for this compilation was scrounged from src/Makefile and said: gcj -fPIC -fjni -g -O --classpath=/usr/share/java/libgcj.jar:${JG}/gtk.jar:${JG}/gnome.jar:${JG}/glade.jar:. Example1.java -o Example1 -L../lib -lGTKJar -lGNOMEJar -lGladeJar -lGTKJava -lGNOMEJava -lGladeJava I get the exact same error messages if the last three -l*Java library references are omitted. ---------------------------------------------------------------------- >Comment By: Mark Howard (howama) Date: 2003-11-16 12:07 Message: Logged In: YES user_id=189107 It's a long time since this was submitted, so I assume you've figured it out. If you haven't, please take your problems to jav...@li... ---------------------------------------------------------------------- Comment By: Mark Howard (howama) Date: 2003-08-01 17:55 Message: Logged In: YES user_id=189107 I've never tried ntive compiles myself, so could be wrong, but it looks an awful lot like you're trying to natively compile an example file against a java-gnome which isn't natively compiled. Are you sure you compiled java-gnome natively? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101522&aid=648648&group_id=1522 |