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.

CCSv6 linking error #10234-D: unresolved symbols remain

Other Parts Discussed in Thread: CC2650

Hello, 

I change from IAR to CCS about zstack Home Automation proejct.

I could not solve the following Linking error.  

Please help,,,.


'Building target: ZStackCore2.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --define=MODULE_CC26XX_7X7 --define=xZDO_API_ADVANCED --define=ZDO_API_BASIC --define=TC_LINKKEY_JOIN --define=HAL_ASSERT_SPIN --define=xDEBUG_SW_TRACE --define=OAD_KEEP_NV_PAGES --define=NV_RESTORE --define=NV_INIT --define=FEATURE_MAC_SECURITY --define=FEATURE_GREEN_POWER --define=FEATURE_ENHANCED_BEACON --define=HOLD_AUTO_START --define=ewarm --define=USE_ICALL --define=FLASH_ROM_BUILD --define=HALNODEBUG --define=xDEBUG_SW_TRACE --define=NEAR_FUNC= --define=DATA= --define=CC26XX --define=ccs --define=__TI_COMPILER_VERSION=1 --define=CC26XXWARE --define=ZIGBEEPRO --define=SECURE=1 --define=ZG_SECURE_DYNAMIC=0 --define=REFLECTOR --define=ZDAPP_CONFIG_PAN_ID=0xFFFF --define=DEFAULT_CHANLIST=0x00000800 --define=NWK_START_DELAY=100 --define=EXTENDED_JOINING_RANDOM_MASK=0x007F --define=BEACON_REQUEST_DELAY=100 --define=BEACON_REQ_DELAY_MASK=0x00FF --define=LINK_STATUS_JITTER_MASK=0x007F --define=ROUTE_EXPIRY_TIME=30 --define=APSC_ACK_WAIT_DURATION_POLLED=3000 --define=NWK_INDIRECT_MSG_TIMEOUT=7 --define=MAX_RREQ_ENTRIES=8 --define=APSC_MAX_FRAME_RETRIES=3 --define=NWK_MAX_DATA_RETRIES=2 --define=MAX_POLL_FAILURE_RETRIES=2 --define=MAX_BCAST=9 --define=APS_MAX_GROUPS=16 --define=MAX_RTG_ENTRIES=40 --define=NWK_MAX_BINDING_ENTRIES=4 --define=MAX_BINDING_CLUSTER_IDS=4 --define=DEFAULT_KEY="{0x01, 0x03, 0x05, 0x07, 0x09, 0x0B, 0x0D, 0x0F, 0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x0D}" --define=ASSERT_RESET --define=MAC_MAX_FRAME_SIZE=116 --define=ZDNWKMGR_MIN_TRANSMISSIONS=20 --define=RFD_RCVC_ALWAYS_ON=FALSE --define=POLL_RATE=1000 --define=QUEUED_POLL_RATE=100 --define=RESPONSE_POLL_RATE=100 --define=REJOIN_POLL_RATE=440 --define=REJOIN_BACKOFF=900000 --define=REJOIN_SCAN=900000 --define=MAC_CFG_TX_DATA_MAX=3 --define=MAC_CFG_TX_MAX=6 --define=MAC_CFG_RX_MAX=3 --define=OSAL_NV_EXTENDED --define=ADDRMGR_NV_SINGLES --define=BINDINGTABLE_NV_SINGLES --diag_wrap=off --diag_suppress=48 --diag_warning=225 --display_error_number --gen_func_subsections=on -z -m"ZStackCore2.map" --heap_size=0 --stack_size=256 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --display_error_number --diag_suppress=16002-D --diag_suppress=10325-D --diag_suppress=10247-D --diag_wrap=off --warn_sections --xml_link_info="ZStackCore2_linkInfo.xml" --rom_model --unused_section_elimination=on --compress_dwarf=on -o "ZStackCore2.out" "C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/SampleSwitch/CC26xx/CCS/Config/ccsLinkerDefines.cmd" "./ZMac/zmac.obj" "./ZMac/zmac_cb.obj" "./ZDO/ZDApp.obj" "./ZDO/ZDConfig.obj" "./ZDO/ZDNwkMgr.obj" "./ZDO/ZDObject.obj" "./ZDO/ZDProfile.obj" "./ZDO/ZDSecMgr.obj" "./TOOLS/OnBoard.obj" "./Startup/CommonROM_Init.obj" "./Startup/ICall_startup.obj" "./Startup/ROM_Init.obj" "./Startup/osaltasks.obj" "./Services/aes/zaesccm_cc2650.obj" "./Security/ssp.obj" "./Security/ssp_hash.obj" "./Profile/AF.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_nv.obj" "./NWK/BindingTable.obj" "./NWK/ZDiags.obj" "./NWK/ZGlobals.obj" "./NWK/nwk_globals.obj" "./NWK/stub_aps.obj" "./MAC/Low_Level/cc26xx/mac.obj" "./MAC/Low_Level/cc26xx/mac_autopend.obj" "./MAC/Low_Level/cc26xx/mac_backoff_timer.obj" "./MAC/Low_Level/cc26xx/mac_isr.obj" "./MAC/Low_Level/cc26xx/mac_low_level.obj" "./MAC/Low_Level/cc26xx/mac_mcu.obj" "./MAC/Low_Level/cc26xx/mac_radio.obj" "./MAC/Low_Level/cc26xx/mac_radio_tx.obj" "./MAC/Low_Level/cc26xx/mac_rx.obj" "./MAC/Low_Level/cc26xx/mac_rx_onoff.obj" "./MAC/Low_Level/cc26xx/mac_sleep.obj" "./MAC/Low_Level/cc26xx/mac_tx.obj" "./MAC/High_Level/mac_cfg.obj" "./MAC/High_Level/mac_coord_PATCH.obj" "./HAL/Target/CC2650/common/mb_PATCH.obj" "./HAL/Target/CC2650/Security/hal_aes.obj" "./HAL/Target/CC2650/Security/hal_ccm.obj" "./HAL/Target/CC2650/Drivers/hal_assert.obj" "./HAL/Target/CC2650/Drivers/hal_trng_wrapper.obj" "./DBG_TRACE/dbg.obj" "./API/zstacktask.obj" "C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/common/CC26xx/CCS/cc26xx_zigbee_stack.cmd" -l"libc.a" -l"C:/ti/tirtos_simplelink_2_11_01_09/products/cc26xxware_2_20_06_14829/driverlib/bin/ccs/driverlib.lib"
<Linking>

undefined  first referenced
symbol      in file
---------      ----------------
main          C:\ti\ccsv6\tools\compiler\ti-cgt-arm_5.2.5\lib\rtsv7M3_T_le_eabi.lib<args_main.obj>

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "ZStackCore2.out" not built

>> Compilation failure
gmake: *** [ZStackCore2.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****