User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://nano7mobile.blogspot.com/sitemap.xml Nano Mobile: Cm12 build : Error in BT module topic

Cm12 build : Error in BT module topic






Hi, i try to build CM12 for crespo.
The error occurs when compile Bluetooth module:


Code:


target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/src/bluetooth.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/bte_conf.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/bte_init.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/bte_logmsg.c
preparing StaticLib: libc++ [including  /media/EXT/android/nexus_s_cm_12/out/target/product/crespo/obj/STATIC_LIBRARIES/libcompiler_rt_intermediates/libcompiler_rt.a]
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/bte_main.c
host StaticLib: libunwindbacktrace_32 (/media/EXT/android/nexus_s_cm_12/out/host/linux-x86/obj32/STATIC_LIBRARIES/libunwindbacktrace_intermediates/libunwindbacktrace.a)
external/bluetooth/bluedroid/main/../btif/src/bluetooth.c: In function 'bt_le_lpp_rssi_monitor_upstream_evt':
external/bluetooth/bluedroid/main/../btif/src/bluetooth.c:547:14: error: 'WRITE_RSSI_MONITOR_THRESHOLD' undeclared (first use in this function)
        case WRITE_RSSI_MONITOR_THRESHOLD:
              ^
external/bluetooth/bluedroid/main/../btif/src/bluetooth.c:547:14: note: each undeclared identifier is reported only once for each function it appears in
external/bluetooth/bluedroid/main/../btif/src/bluetooth.c:551:14: error: 'READ_RSSI_MONITOR_THRESHOLD' undeclared (first use in this function)
        case READ_RSSI_MONITOR_THRESHOLD:
              ^
external/bluetooth/bluedroid/main/../btif/src/bluetooth.c:559:14: error: 'ENABLE_RSSI_MONITOR' undeclared (first use in this function)
        case ENABLE_RSSI_MONITOR:
              ^
external/bluetooth/bluedroid/main/../btif/src/bluetooth.c: In function 'bt_le_handle_lpp_monitor_rssi':
external/bluetooth/bluedroid/main/../btif/src/bluetooth.c:637:28: error: 'WRITE_RSSI_MONITOR_THRESHOLD' undeclared (first use in this function)
            error.subcmd = WRITE_RSSI_MONITOR_THRESHOLD;
                            ^
external/bluetooth/bluedroid/main/../btif/src/bluetooth.c:648:28: error: 'ENABLE_RSSI_MONITOR' undeclared (first use in this function)
            error.subcmd = ENABLE_RSSI_MONITOR;
                            ^
external/bluetooth/bluedroid/main/../btif/src/bluetooth.c:672:28: error: 'READ_RSSI_MONITOR_THRESHOLD' undeclared (first use in this function)
            error.subcmd = READ_RSSI_MONITOR_THRESHOLD;
                            ^
build/core/binary.mk:697: recipe for target '/media/EXT/android/nexus_s_cm_12/out/target/product/crespo/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/src/bluetooth.o' failed
make: *** [/media/EXT/android/nexus_s_cm_12/out/target/product/crespo/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/src/bluetooth.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from external/bluetooth/bluedroid/main/../include/bte_appl.h:28:0,
                from external/bluetooth/bluedroid/main/bte_logmsg.c:36:
external/bluetooth/bluedroid/main/../stack/btm/btm_int.h:45:1: error: unknown type name 'tBTM_BLE_MULTI_ADV_CB'
 tBTM_BLE_MULTI_ADV_CB  btm_multi_adv_cb;
 ^
build/core/binary.mk:697: recipe for target '/media/EXT/android/nexus_s_cm_12/out/target/product/crespo/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/bte_logmsg.o' failed
make: *** [/media/EXT/android/nexus_s_cm_12/out/target/product/crespo/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/bte_logmsg.o] Error 1
target StaticLib: libc++ (/media/EXT/android/nexus_s_cm_12/out/target/product/crespo/obj/STATIC_LIBRARIES/libc++_intermediates/libc++.a)








Aucun commentaire:

Enregistrer un commentaire