Skip to contentSkip to conversation

cross-compiling btsco

Bluez-devel Brad Midgley 1 participant 1 message Jan 21, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Marcel,

I'm trying to straightening out fixed-point using a gumstix board to test stuff. I used to be able to cross-compile btsco for gumstix but something changed. Now during the link libtool translates "-lbluetooth" into /usr/lib/libbluetooth.so instead of the arm libbluetooth.so inside the cross-compile tree. I've tried overriding this in the configure and make statements with just about everything I can think of.

Is there something our sources are missing for enabling a cross-compile?

Brad

make[3]: Entering directory `/home/bmidgley/buildroot-2.6.14/build_arm_nofpu/btsco/sbc'
/bin/sh ../libtool --mode=link /home/bmidgley/buildroot-2.6.14/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc
-DUSE_FIXED
-I/home/bmidgley/buildroot-2.6.14/build_arm_nofpu/staging_dir/include
-DFORCE_LITTLE -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -o
sbcinfo sbcinfo.o -lbluetooth /home/bmidgley/buildroot-2.6.14/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc -DUSE_FIXED -I/home/bmidgley/buildroot-2.6.14/build_arm_nofpu/staging_dir/include -DFORCE_LITTLE -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -o sbcinfo sbcinfo.o /usr/lib/libbluetooth.so
/usr/lib/libbluetooth.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel