This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC2640R2F: Eample ble5_multi_role_cc2640r2lp_app not compiling

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hi,

Example project ble5_multi_role_cc2640r2lp_app is not compiling, I installed simplelink_cc2640r2_sdk_1_35_00_33, here's the Error:

Best regards,

Jerome

Description Resource Path Location Type
#10010 errors encountered during linking; "ble5_multi_role_cc2640r2lp_app.out" not built ble5_multi_role_cc2640r2lp_app C/C++ Problem
<a href="processors.wiki.ti.com/.../10234"> unresolved symbols remain ble5_multi_role_cc2640r2lp_app C/C++ Problem

Description Resource Path Location Type
cannot find file "X:/xxx/ble5_multi_role_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols" cannot find file "X:/xxx/ble5_multi_role_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols" ble5_multi_role_cc2640r2lp_app C/C++ Problem
cannot find file "X:/xxx/ble5_multi_role_cc2640r2lp_stack_library/FlashROM_Library/ble5_multi_role_cc2640r2lp_stack_library.lib" cannot find file "X:/xxx/ble5_multi_role_cc2640r2lp_stack_library/FlashROM_Library/ble5_multi_role_cc2640r2lp_stack_library.lib" ble5_multi_role_cc2640r2lp_app C/C++ Problem
cannot find file "X:/xxx/ble5_multi_role_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd" cannot find file "X:/xxx/ble5_multi_role_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd" ble5_multi_role_cc2640r2lp_app C/C++ Problem

Description Resource Path Location Type
gmake: *** [all] Error 2 ble5_multi_role_cc2640r2lp_app C/C++ Problem
gmake[1]: *** [ble5_multi_role_cc2640r2lp_app.out] Error 1 ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_genKeys, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_genSharedSecret, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_param_a, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_param_b, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_param_Gx, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_param_Gy, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_param_p, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_param_r, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_windowSize, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol eccRom_workzone, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_DeviceDiscoveryCancel, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_DeviceDiscoveryRequest, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_DeviceInit, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_EndDiscoverable, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_EstablishLinkReq, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_GetParamValue, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_MakeDiscoverable, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_RegisterForMsgs, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_SetParamValue, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_TerminateLinkReq, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_UpdateAdvertisingData, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_UpdateLinkParamReq, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAP_UpdateLinkParamReqReply, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAPBondMgr_LinkEst, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAPBondMgr_LinkTerm, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAPBondMgr_PasscodeRsp, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAPBondMgr_Register, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAPBondMgr_SetParameter, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GAPBondMgr_SlaveReqSecurity, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_bm_alloc, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_bm_free, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_DiscPrimaryServiceByUUID, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_ExchangeMTU, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_Indication, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_InitClient, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_Notification, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_ReadCharValue, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_ReadUsingCharUUID, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_RegisterForInd, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_RegisterForMsgs, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_SendRsp, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATT_WriteCharValue, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATTServApp_AddService, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GATTServApp_RegisterService, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GGS_AddService, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GGS_SetParameter, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol GGS_SetParamValue, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol HCI_EXT_ConnEventNoticeCmd, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol HCI_EXT_SetLocalSupportedFeaturesCmd, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol HCI_LE_ReadLocalSupportedFeaturesCmd, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol linkDB_GetInfo, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol linkDB_NumActive, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol linkDBNumConns, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol NIST_Curve_P256_a, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol NIST_Curve_P256_b, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol NIST_Curve_P256_Gx, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol NIST_Curve_P256_Gy, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol NIST_Curve_P256_p, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol NIST_Curve_P256_r, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol osal_snv_read, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol osal_snv_write, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem
unresolved symbol startup_entry, first referenced in <whole-program> ble5_multi_role_cc2640r2lp_app C/C++ Problem

  • Hi Jerome,

    Did you build the stack project first? (ble5_multi_role_cc2640r2lp_stack)
  • Hi Marie,

    "Build Automatically" was checked, so it builds but didn't generate the files.

    Manually doing a xxx_stack_library build then a manual xxx_app build works but here's what would make it work every time from the first time:

    Enter the properties of xxx_app (Alt+Enter) > Build > Dependencies > Add... > select the xxx_stack_library > OK > OK.

    I suggest TI should add this by default on all projects with dependencies so user don't have to waste their time.

    Best regards,

    Jerome

  • Hi Jerome,

    Thank you for the suggestion! Quite often changes are only made to the app project, and in that case you only need to build the app project. Thus, adding this dependency will waste time later in the process.