[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Help: openBT_0_0_8 ARM compilation problem undefined references to `__bug_unaligned_x'



I have the same problem as Tim . Can anyone help us ?
Tim Have you found the solution since ? 

Thanks for any help 

DABITBOL


Can anyone help: I get the following error when I compile 0.0.8 for
ARM. Can someone advise any changes I need to build the stack
for Arm Linux (or should it just build without changes??):

arm-linux-gcc  -pthread  btd.o btdebug.o btmem.o hci.o l2cap.o 
l2cap_con.o rfcomm.o sdp.o tcs.o test.o bt_proc.o hci_vendor.o 
sec_client.o l2cap_sec.o rfcomm_sec.o -lutil  -o btduser
hci.o: In function `hci_receive_data':
/usr/local/arm/src/openbt.0.0.8-arm/apps/bluetooth/userstack/hci.c:465: 
undefined reference to `__bug_unaligned_x'
hci.o: In function `update_ncp':
/usr/local/arm/src/openbt.0.0.8-arm/apps/bluetooth/userstack/hci.c:729: 
undefined reference to `__bug_unaligned_x'
hci.o: In function `process_event':
/usr/local/arm/src/openbt.0.0.8-arm/apps/bluetooth/userstack/hci.c:1047: 
undefined reference to `__bug_unaligned_x'
/usr/local/arm/src/openbt.0.0.8-arm/apps/bluetooth/userstack/hci.c:1047: 
undefined reference to `__bug_unaligned_x'
/usr/local/arm/src/openbt.0.0.8-arm/apps/bluetooth/userstack/hci.c:1050: 
undefined reference to `__bug_unaligned_x'
hci.o:/usr/local/arm/src/openbt.0.0.8-arm/apps/bluetooth/userstack/hci.c:1050: 
more undefined references to `__bug_unaligned_x' follow
collect2: ld returned 1 exit status
make[3]: *** [btduser] Error 1
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/usr/local/arm/src/openbt.0.0.8-arm/apps/bluetooth/userstack'
make[1]: *** [all-recurse] Error 1


Many thanks if anyone can help.

-- 

Tim Lindquist 


-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com