[Java-gnome-developer] question for native build
Brought to you by:
afcowie
From: Olivier E. <ev...@pr...> - 2005-03-18 12:36:18
|
Hi All, First, thanks a lot for your great work!!! I'm working to make a local linux distribution to help my friends to understand what it mean freedom and sharing. Two weeks ago, I decided to build tools with java-gnome and gcj. It is really exciting to see java & java-gnome working without any jre!!! I began to build the gui installer and his partedjava library helper. I also discovered eclipse that I directly adopted. I learned on your makefile.am and config.ac and adepted the gtkjava to my partedjava. Now I can build with eclipse and distribute with configure/make. Here is my question. The gui installer depend on libpartedjava and lpartedjava depend on the jni libpartedjni.so. When I use java and eclipse all is working perfectly. But when I try to build natively, I get an link error only for jni methodes: ../libpartedjava.so: undefined reference to `org::gnu::parted::Device::create_devices(JArray<org::gnu::parted::Device*>*)' ../libpartedjava.so: undefined reference to `org::gnu::parted::Device::init_device()' ../libpartedjava.so: undefined reference to `org::gnu::parted::Device::get_partitions(org::gnu::parted::Device*)' ../libpartedjava.so: undefined reference to `org::gnu::parted::Device::init_parted()' and %>objdump -T /usr/lib/libpartedjava.so |grep init_parted %>00000000 D *UND* 00000000 _ZN3org3gnu6parted6Device11init_partedEv I think that I have a bad link option but I don't know where, you will find on attach the make.am for the partedjava & partedjni, and the makefile for gui Installer. Have you any idea? Cheers, Olivier -- __________________ | gelux is a cow ? | ------------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || http://gelux.programmer.ch |