Ahh, I see. It's not not finding the JNI functions, it's not able to resolve some other symbol in the library. What happens if you compile the .so with --error-unresolved-symbols?
-joe 2008/3/27 Digit <[EMAIL PROTECTED]>: > hello, > > can I ask you to list the missing functions that you need ? especially the > C library ones. > (not that I can help you with the linking issue though) > > > On Thu, Mar 27, 2008 at 5:01 PM, David Given <[EMAIL PROTECTED]> wrote: > > > Joe Onorato wrote: > > > And you're sure you installed libFnord.so in /system/lib? If it can't > > > dlopen it, it could be because of binary incompatibility. It could > > also be > > > filesystem permissions. Don't forget that each app runs as its own > > userid. > > > The error with dlopen means that it isn't even getting to dlsym, which > > is > > > where it looks up the JNI methods. > > > > I'm quite sure. I've verified this multiple times (not helped by the > > fact that the system sometimes doesn't dlunload() the library, which > > means that uploading a new version doesn't take effect!). > > > > Basically, what I've got is that if I include code that refers to an > > undefined symbol it doesn't work, with the above error; but if I comment > > out the code, recompile and reupload, it all works fine. > > > > The problem is that there are a *lot* of functions I need to provide > > implementations of because because Android doesn't have them --- > > including, rather annoying, some of the CRT! Currently I have to use > > trial and error to figure out what these symbols are. If I could just > > find a way to get the system to tell me what symbols were causing the > > problem, my life would be much easier. > > > > -- > > ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── > > │ "I have always wished for my computer to be as easy to use as my > > │ telephone; my wish has come true because I can no longer figure out > > │ how to use my telephone." --- Bjarne Stroustrup > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

