Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Problem #5

Open
GoogleCodeExporter opened this issue Oct 30, 2015 · 5 comments
Open

Compile Problem #5

GoogleCodeExporter opened this issue Oct 30, 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 zx.ou...@gmail.com 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 tov...@googlemail.com 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 manuel.l...@gmail.com 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 Xiangwen...@gmail.com 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 Xiangwen...@gmail.com on 5 Apr 2013 at 6:19

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

No branches or pull requests

1 participant