08-16-2012 03:50 PM
Hello all, I'm having a weird issue since I added code to get the user's PIN. When I start my app on the playbook, i get this printed in the console and the app quits :
unknown symbol: deviceinfo_get_identifying_details unknown symbol: deviceinfo_identifying_details_get_pin unknown symbol: deviceinfo_free_identifying_details ldd:FATAL: Could not resolve all symbols
libbps is linked in, as I use it for other things. I have also added the appropriate permissions in the BAR file by checking the "Device Identifying Information" box.
What could be causing this ? Thanks.
Solved! Go to Solution.
08-17-2012 02:52 PM
Is this really the error you get when you RUN the app or when you compile the app?
08-17-2012 02:58 PM
When I RUN the app... that's why I think it's so strange.
08-17-2012 03:05 PM
interesting...... those seem like compile errors.
I have code that reads PIN and dont get those errors (using 10.0.4 as 10.0.6 will not run on the PB at all)
08-17-2012 03:14 PM
Can you show me the libs you added to the linker ?
08-17-2012 03:17 PM
you will be sad to know I didn't add any libs to the linker. I do have libs added to the BAR though. The one that I think matters is "libbb.so.0"
08-17-2012 04:07 PM
Correct me if I'm wrong but you are targeting bb10 devices ?
I'm targeting playbook using ndk 2.1.0-beta1, and no such file exist (libbb.so)
08-17-2012 04:14 PM
Wellll....
You can target the PB with 10.0.4 if you do a little bit of work. So no, I am not using 2.1.0 but 10.0.4.
Bryan
08-17-2012 04:39 PM
Thanks for your replies, I'd love a BB advisor to drop in though
08-17-2012 04:47 PM - edited 08-17-2012 04:49 PM
(All: please confine comments to Playbook NDK2. This thread is not about Cascades)
ldd error is consistent with missing .so or missing entries in the .so even at runtime.
Try statically linking and post any link errors.
Stuart