Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Compile Problem #5

Open
GoogleCodeExporter opened this issue May 2, 2015 · 5 comments
Open

Compile Problem #5

GoogleCodeExporter opened this issue May 2, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Please provide any additional information below.
I use ndk-r6 to build the jni part of your code, and it reports an error:

 ld.exe: cannot find -lbluetooth

Could you help me to how to resolve the problem?

Original issue reported on code.google.com by [email protected] on 28 Sep 2011 at 7:09

@GoogleCodeExporter
Copy link
Author

Same problem here! though I get:
android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../
lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: 
cannot find -lbluetooth

Original comment by [email protected] on 9 Feb 2012 at 2:45

@GoogleCodeExporter
Copy link
Author

Please have a look at the FAQ page, this problem was solved in the comments! 
After all I will finally write a step by step guide if I find the time!

Manu

Original comment by [email protected] on 10 Feb 2012 at 9:22

@GoogleCodeExporter
Copy link
Author

Install bluez-devel (or similar name depending on distibution).

Original comment by fisiu82 on 20 Apr 2012 at 6:56

@GoogleCodeExporter
Copy link
Author

I try to build the jni under Ubuntu and I get these:
warning: skipping incompatible /usr/lib/i386-linux-gnu/libbluetooth.so while 
searching for bluetooth
error: cannot find -lbluetooth
Any one knows what is wrong

Original comment by [email protected] on 26 Mar 2013 at 8:23

@GoogleCodeExporter
Copy link
Author

I have solved my problem by read the FAQ page(The bluetooth lib can be found on 
the phone in /system/lib/libbluetooth.so)

Original comment by [email protected] on 5 Apr 2013 at 6:19

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant