[Android Q&A, Help & Troubleshooting] mikshepard:
I'm trying to build SlimBean 4.2 for my Jewel device but am running into these errors. It's complaining about undefined references to bluetooth related files but I don't know what to do about it or how to proceed. Any ideas?

target SharedLib: libbt-hci (/root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/LINKED/libbt-hci.so)
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/lpm.o: in function lpm_idle_timeout:external/bluetooth/bluedroid/hci/src/lpm.c:117: error: undefined reference to 'bthc_signal_event'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/lpm.o: in function lpm_vnd_cback:bionic/libc/include/string.h:140: error: undefined reference to 'bt_hc_cbacks'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/lpm.o: in function lpm_enable:external/bluetooth/bluedroid/hci/src/lpm.c:314: error: undefined reference to 'bt_hc_cbacks'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/bt_hw.o: in function fwcfg_cb:external/bluetooth/bluedroid/hci/src/bt_hw.c:71: error: undefined reference to 'bt_hc_cbacks'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/bt_hw.o: in function scocfg_cb:external/bluetooth/bluedroid/hci/src/bt_hw.c:89: error: undefined reference to 'p_hci_if'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/bt_hw.o: in function alloc:external/bluetooth/bluedroid/hci/src/bt_hw.c:128: error: undefined reference to 'bt_hc_cbacks'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/bt_hw.o: in function xmit_cb:external/bluetooth/bluedroid/hci/src/bt_hw.c:163: error: undefined reference to 'p_hci_if'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/hci_mct.o: in function hci_mct_send_int_cmd:external/bluetooth/bluedroid/hci/src/hci_mct.c:1109: error: undefined reference to 'bthc_signal_event'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/hci_mct.o: in function hci_mct_send_int_cmd:external/bluetooth/bluedroid/hci/src/hci_mct.c:1112: error: undefined reference to 'tx_q'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/hci_mct.o: in function internal_event_intercept:external/bluetooth/bluedroid/hci/src/hci_mct.c:257: error: undefined reference to 'bthc_signal_event'
/root/android/slimrom-4.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/src/hci_mct.o: in function internal_event_intercept:external/bluetooth/bluedroid/hci/src/hci_mct.c:297: error: undefined reference to 'bthc_signal_event'
collect2: ld returned 1 exit status
make: *** [/root/android/slimrom-4.2/out/target/product/jewel/obj/SHARED_LIBRARIES/libbt-hci_intermediates/LINKED/libbt-hci.so] Error 1

Any help is greatly appreciated, thanks

-Mike