Comments (5)
This seems to be an issue with the order of link arguments. Putting
"-lbluetooth" further down in build.xml resolves this issue.
Original comment by [email protected]
on 23 May 2014 at 10:14
from bluecove.
I encountered the same problem and what u suggest "Putting -bluetooth further
down" cannot resolve the problem.
Original comment by [email protected]
on 24 May 2014 at 10:11
from bluecove.
I had the same issue. Putting -L<lib path> -lbluetooth arguments last when
linking solved the problem (using custom makefile to build the lib).
Original comment by [email protected]
on 1 Sep 2014 at 9:54
from bluecove.
Even after moving the parameter to the end, I still get this:
compile-native-lib:
[echo] compiling .c -> .o
[apply] /home/inventmarine/bluecove/bluecove-gpl-2.1.0/src/main/c/BlueCoveBlueZ_SDPServer.c: In function ‘bluecove_sdp_extract_pdu’:
[apply] /home/inventmarine/bluecove/bluecove-gpl-2.1.0/src/main/c/BlueCoveBlueZ_SDPServer.c:94:47: warning: assignment from incompatible pointer type [enabled by default]
[echo] linking .o -> libbluecove_arm.so
[echo] ldd libbluecove_arm.so
[exec] libbluetooth.so.3 => /usr/lib/arm-linux-gnueabihf/libbluetooth.so.3 (0xb6ee6000)
[exec] libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e01000)
[exec] /lib/ld-linux-armhf.so.3 (0xb6f21000)
[exec]
[exec] Version information:
[exec] /usr/lib/arm-linux-gnueabihf/libbluetooth.so.3:
[exec] ld-linux-armhf.so.3 (GLIBC_2.4) => /lib/ld-linux-armhf.so.3
[exec] libc.so.6 (GLIBC_2.7) => /lib/arm-linux-gnueabihf/libc.so.6
[exec] libc.so.6 (GLIBC_2.15) => /lib/arm-linux-gnueabihf/libc.so.6
[exec] libc.so.6 (GLIBC_2.4) => /lib/arm-linux-gnueabihf/libc.so.6
[exec] /lib/arm-linux-gnueabihf/libc.so.6:
[exec] ld-linux-armhf.so.3 (GLIBC_2.4) => /lib/ld-linux-armhf.so.3
[exec] ld-linux-armhf.so.3 (GLIBC_PRIVATE) => /lib/ld-linux-armhf.so.3
[copy] Copying 1 file to /home/inventmarine/bluecove/bluecove-gpl-2.1.0/src/main/resources
[copy] Copying 1 file to /home/inventmarine/bluecove/bluecove-gpl-2.1.0/target/classes
native-lib:
Also, that is how my build.xml looks like:
<apply executable="${CC}" parallel="true" failonerror="true">
<arg value="-shared"/>
<!--
This is used on Build Server to create Universal binary
ldd libbluecove.so
linux-gate.so.1 =>
libbluetooth.so =>
The directory should contain libbluetooth.so binary edited to remove version from name e.g.
libbluetooth.so.2 -> libbluetooth.so
libbluetooth.so.3 -> libbluetooth.so
-->
<arg value="-nodefaultlibs"/>
<arg value="-o"/>
<arg value="${target}/${library_name}"/>
<fileset dir='${build_native}' includes="*.o"/>
<srcfile/>
<arg value="-L${libs-universal}"/>
<arg value="-lbluetooth"/>
</apply>
Original comment by [email protected]
on 19 Sep 2014 at 9:02
from bluecove.
I've also tried:
<arg value="-nodefaultlibs"/>
<arg value="-L${libs-universal}"/>
<arg value="-lbluetooth"/>
<arg value="-o"/>
<arg value="${target}/${library_name}"/>
<fileset dir='${build_native}' includes="*.o"/>
<srcfile/>
Original comment by [email protected]
on 19 Sep 2014 at 10:37
from bluecove.
Related Issues (20)
- CloseHandle needs to be called after BluetoothFindFirstRadio and BluetoothFindNextRadio
- BlueCove on Mac OS X 10.7.2 - Access restriction: The type DiscoveryListener is not accessible due to restriction on required library /Library/Java/Extensions/bluecove-2.1.0.jar
- Broadcom stack not detected as WIDCOMM HOT 2
- : The requested protocol does not exist btspp
- Using Bluecove Software with Android App- Bluetooth stack not found on Toshiba
- kkk
- Bluecove broken on OSX 10.8 HOT 41
- Multiple Connections
- Exceptions thrown by Emulator when running with Java 7
- Make bluecove work with bluesoleil stack HOT 1
- Mac OSX 10.7.5 with Java 7 Webstart using does not work and eventually a JVM crash
- Bluecove on Windows 8 HOT 2
- Patch for /trunk/bluecove-android2/src/main/java/com/intel/bluetooth/BluetoothStackAndroid.java
- x64
- Bluecove not supported in Android 4.2 version
- bluecove_ce and intelbth_ce not found on Windows CE 6.0 and Creme JVM
- Bluecove on Windows CE 6.0
- BlueCove on Windows 8
- "Native Library bluecove_arm not available" issue on arm ubuntu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluecove.