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.
see below description:
Description Resource Path Location Type
#10010 errors encountered during linking; "SimpleBLEPeripheralStack.out" not built SimpleBLEPeripheralStack C/C++ Problem
<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol GAP_RegisterForMsgs, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol GATT_GetNextHandle, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol GATT_RegisterForMsgs, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol GATT_SendRsp, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol HCI_EXT_ConnEventNoticeCmd, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol HCI_EXT_GetConnInfoCmd, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol HCI_LE_ReceiverTestCmd, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol HCI_LE_SetEventMaskCmd, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol HCI_LE_TransmitterTestCmd, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol HCI_ReadLocalVersionInfoCmd, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol HCI_ValidConnTimeParams, first referenced in D:/TI/TI SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol ll_buildRevision, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol LL_DirectTestRxTest, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol LL_EXT_BuildRevision, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol LL_EXT_ConnEventNotice, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol LL_EXT_GetConnInfo, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol LL_GetNumActiveConns, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol LL_ReadSupportedStates, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol llHardwareError, first referenced in D:/TI/TI SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol llScheduleTask, first referenced in D:/TI/TI SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol llSendReject, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol llSetupConnRxDataEntryQueue, first referenced in D:/TI/TI SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol llSetupTermInd, first referenced in D:/TI/TI SimpleBLEPeripheralStack C/C++ Problem
unresolved symbol SysBootMsg, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
This project was created using a version of compiler that is not currently installed: 5.2.4 [ARM]. Another version of the compiler will be used during build: 5.2.2. Please go to <a href="liveaction:OpenAppCenter">CCS App Center</a> to install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project properties. SimpleBLEPeripheralStack properties Problems
stack/CC2650/ble/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/SimpleBLEPeripheralStack/../../IAR/Stack/CC2640/../../../../../../common/BLE_ROM_Releases/04242014/ble_rom_PATCH.symbols" -l"C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600/driverlib/bin/ccs/driverlib.lib"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
GAP_RegisterForMsgs <whole-program>
GATT_GetNextHandle <whole-program>
GATT_RegisterForMsgs <whole-program>
GATT_SendRsp <whole-program>
HCI_EXT_ConnEventNoticeCmd <whole-program>
HCI_EXT_GetConnInfoCmd <whole-program>
HCI_LE_ReceiverTestCmd <whole-program>
HCI_LE_SetEventMaskCmd <whole-program>
HCI_LE_TransmitterTestCmd <whole-program>
HCI_ReadLocalVersionInfoCmd <whole-program>
HCI_ValidConnTimeParams D:/TI/TI stack/CC2650/ble/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/SimpleBLEPeripheralStack/../../IAR/Stack/CC2640/../../Lib/CC2640Stack.a<gap_linkmgr.o>
LL_DirectTestRxTest <whole-program>
LL_EXT_BuildRevision <whole-program>
LL_EXT_ConnEventNotice <whole-program>
LL_EXT_GetConnInfo <whole-program>
LL_GetNumActiveConns <whole-program>
LL_ReadSupportedStates <whole-program>
SysBootMsg <whole-program>
llHardwareError D:/TI/TI stack/CC2650/ble/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/SimpleBLEPeripheralStack/../../IAR/Stack/CC2640/../../Lib/CC2640Stack.a<ll_common_PATCH.o>
if the "CC2640Stack.a" are not include these symbols ?
urgency!!
Regards,
Jiemmy
Hello,
Those missing symbols should be defined in the source files that are part of the project. For example:
user3887813 said:unresolved symbol GAP_RegisterForMsgs, first referenced in <whole-program> SimpleBLEPeripheralStack C/C++ Problem
GAP_RegisterForMsgs is defined in ICallBleAPI.c. It should be part of your project:
Check to make sure that all the necessary files are part of the project. Since all these files are links, check for broken links.
Thanks
ki
Hi ki,
I check the relevant file, i think all relevant files are included. so i don't know where i have missed. But i observed you refer the project is different with me.
"${CG_TOOL_ROOT}/include"
"${ORG_PROJ_DIR}/../../../Source/Stack"
"${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx"
"${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS"
"${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx"
"${ORG_PROJ_DIR}/../../../../../../../Components/hal/include"
"${ORG_PROJ_DIR}/../../../../../../../Components/osal/include"
"${ORG_PROJ_DIR}/../../../../../../../Components/services/nv/cc26xx"
"${ORG_PROJ_DIR}/../../../../../../../Components/services/nv"
"${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr"
"${ORG_PROJ_DIR}/../../../../../../../Components/icall/include"
"${ORG_PROJ_DIR}/../../../../../../../Components/ble/include"
"${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include"
"${ORG_PROJ_DIR}/../../../../../../../Components/ble/ROM"
"${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci"
"${ORG_PROJ_DIR}/../../../../../../../Components/ble/host"
"${ORG_PROJ_DIR}/../../../../../../../Components/services/aes/CC26xx"
"${ORG_PROJ_DIR}/../../../../../../../Components/npi"
"${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/npi/npi_np/CC26xx/Stack"
"${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Include"
"${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include"
"${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles"
"${CC26XXWARE}"
Include liberary file
"libc.a"
"${ORG_PROJ_DIR}/../../Lib/CC2640Stack.a"
"${ORG_PROJ_DIR}/../../Lib/CC2640Stack_HCI_TL.a"
"${ORG_PROJ_DIR}/../../../../../../common/BLE_ROM_Releases/04242014/ble_rom_PATCH.symbols"
"${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib"
Ah ok, you are building the stack. Sorry.
Can you post the full linker output? It should look something like:
'Invoking: ARM Linker'
"C:/ti/ccsv6.1.1.00022/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" --cmd_file="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/SimpleBLEPeripheralStack/../../IAR/Stack/CC2640/../../../../../config/buildComponents.opt" --cmd_file="C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/SimpleBLEPeripheralStack/../../IAR/Stack/CC2640/buildConfig.opt" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --define=USE_ICALL --define=OSAL_SNV=2 --define=FLASH_ROM_BUILD --define=POWER_SAVING --define=GATT_NO_CLIENT --define=INCLUDE_AES_DECRYPT --define=xPM_DISABLE_PWRDOWN --define=xTESTMODES --define=xTEST_BLEBOARD --define=OSAL_CBTIMER_NUM_TASKS=1 --define=xDEBUG --define=HALNODEBUG --define=xDEBUG_GPIO --define=xDEBUG_ENC --define=xDEBUG_SW_TRACE --define=NEAR_FUNC= --define=DATA= --define=CC26XXWARE --define=CC26XX --diag_wrap=off --diag_suppress=48 --diag_warning=225 --display_error_number -z -m"SimpleBLEPeripheralStack.map" --heap_size=0 --stack_size=256 -i"C:/ti/ccsv6.1.1.00022/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/ti/ccsv6.1.1.00022/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --display_error_number --diag_suppress=16002-D --diag_suppress=10247-D --diag_suppress=10325-D --diag_wrap=off --warn_sections --xml_link_info="SimpleBLEPeripheralStack_linkInfo.xml" --entry_point=startup_entry --rom_model --unused_section_elimination=on --compress_dwarf=on -o "SimpleBLEPeripheralStack.out" "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/ccsLinkerDefines.cmd" "C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/common/cc26xx/CCS/cc26xx_ble_stack.cmd" "./TOOLS/OnBoard.obj" "./Startup/CommonROM_Init.obj" "./Startup/ICall_startup.obj" "./Startup/OSAL_ICallBle.obj" "./Startup/ROM_Init.obj" "./Startup/bleUserConfig.obj" "./PROFILES/gap.obj" "./PROFILES/gapbondmgr.obj" "./PROFILES/gattservapp_util.obj" "./OSAL/OSAL.obj" "./OSAL/OSAL_Clock.obj" "./OSAL/OSAL_MemoryICall.obj" "./OSAL/OSAL_PwrMgr.obj" "./OSAL/OSAL_Timers.obj" "./OSAL/osal_bufmgr.obj" "./OSAL/osal_cbtimer.obj" "./OSAL/osal_snv_wrapper.obj" "./NPI/npi.obj" "./ICallBLE/bleDispatch.obj" "./HAL/Target/CC2650/_common/mb_PATCH.obj" "./HAL/Target/CC2650/Drivers/hal_flash_wrapper.obj" "./HAL/Target/CC2650/Drivers/hal_rtc_wrapper.obj" "./HAL/Target/CC2650/Drivers/hal_trng_wrapper.obj" "./HAL/Common/hal_assert.obj" -l"libc.a" -l"C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/SimpleBLEPeripheralStack/../../IAR/Stack/CC2640/../../Lib/CC2640Stack.a" -l"C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/SimpleBLEPeripheralStack/../../IAR/Stack/CC2640/../../Lib/CC2640Stack_HCI_TL.a" -l"C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/SimpleBLEPeripheralStack/../../IAR/Stack/CC2640/../../../../../../common/BLE_ROM_Releases/04242014/ble_rom_PATCH.symbols" -l"C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600/driverlib/bin/ccs/driverlib.lib"
<Linking>
'Finished building target: SimpleBLEPeripheralStack.out'