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.

LP-CC2652RB: linker error #10234-D: unresolved symbols remain

Part Number: LP-CC2652RB
Other Parts Discussed in Thread: SYSCONFIG, CC2652RB, SYSBIOS, Z-STACK

Hello, I am facing a linker issue that I struggle to get fixed. I used the zed_simpleapp example and stated removing the right button and rename the left button in sysconfig and code, and now the code wont link with this error:

making ../src/sysbios/rom_sysbios.aem4f ...
gmake[2]: Nothing to be done for 'all'.
Building target: "zed_simpleapp_CC2652RB_tirtos_ccs.out"
Invoking: Arm Linker
"/Applications/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.6.LTS/bin/armcl" --cmd_file="/Users/username/CCStudioWorkspace/zed_simpleapp_CC2652RB_tirtos_ccs/Stack/Config/f8wenddev.opts"  -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --define=xCUI_DISABLE --define=MAX_STATUS_LINES=10 --define=ZSTACK_SECURITY --define=BOARD_DISPLAY_USE_UART --define=FREQ_2_4G --define=OSAL_PORT2TIRTOS --define=OSAL_PORT2TIRTOS_OSALMAP --define=ZDO_API_BASIC --define=TC_LINKKEY_JOIN --define=NV_RESTORE --define=NV_INIT --define=FEATURE_NON_BEACON_MODE --define=ZCL_STANDALONE --define=MAX_DEVICE_TABLE_ENTRIES=50 --define=NVOCMP_NVPAGES=2 --define=DEVICE_FAMILY=cc26x0 --define=DeviceFamily_CC26X2 --define=TIMAC_ROM_IMAGE_BUILD --define=TIMAC_ROM_PATCH -g --c99 --plain_char=unsigned --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --embedded_constants=on --unaligned_access=on --enum_type=packed --wchar_t=16 --abi=eabi --common=on --fp_reassoc=off --sat_reassoc=off -z -m"zed_simpleapp_CC2652RB_tirtos_ccs.map" -i"/Users/username/ti/simplelink_cc13x2_26x2_sdk_5_20_00_52/source" -i"/Users/username/ti/simplelink_cc13x2_26x2_sdk_5_20_00_52/kernel/tirtos/packages" -i"/Applications/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.6.LTS/lib" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="zed_simpleapp_CC2652RB_tirtos_ccs_linkInfo.xml" --rom_model --unused_section_elimination=on -o "zed_simpleapp_CC2652RB_tirtos_ccs.out" "./syscfg/zcl_config.obj" "./syscfg/ti_devices_config.obj" "./syscfg/ti_radio_config.obj" "./syscfg/ti_drivers_config.obj" "./Application/Services/crc.obj" "./Application/Services/nvocmp.obj" "./Application/Services/saddr.obj" "./Application/StartUp/main.obj" "./Application/StartUp/zstackstartup.obj" "./Application/ZStackApi/zstackapi.obj" "./Application/ota/crc32.obj" "./Application/ota/flash_interface_ext_rtos_NVS.obj" "./Application/ota/oad_image_header_app.obj" "./Application/ota/oad_switch_agama.obj" "./Application/ota_client.obj" "./Application/sampleapp.obj" "./Application/ui/cui.obj" "./Application/ui/zcl_sampleapps_ui.obj" "./Application/util/mac_util.obj" "./Application/util/utc_clock.obj" "./Application/util/util_timer.obj" "./Common/gp/gp_bit_fields.obj" "./Common/gp/gp_common.obj" "./Common/gp/gp_proxy.obj" "./Common/gp/gp_proxy_table.obj" "./Common/touchlink/bdb_tl_commissioning.obj" "./Common/touchlink/touchlink_initiator_app.obj" "./Common/touchlink/touchlink_target_app.obj" "./Common/zcl/zcl.obj" "./Common/zcl/zcl_appliance_control.obj" "./Common/zcl/zcl_appliance_events_alerts.obj" "./Common/zcl/zcl_appliance_statistics.obj" "./Common/zcl/zcl_cc.obj" "./Common/zcl/zcl_cert_data.obj" "./Common/zcl/zcl_closures.obj" "./Common/zcl/zcl_diagnostic.obj" "./Common/zcl/zcl_electrical_measurement.obj" "./Common/zcl/zcl_general.obj" "./Common/zcl/zcl_green_power.obj" "./Common/zcl/zcl_ha.obj" "./Common/zcl/zcl_hvac.obj" "./Common/zcl/zcl_lighting.obj" "./Common/zcl/zcl_ll.obj" "./Common/zcl/zcl_ms.obj" "./Common/zcl/zcl_ota.obj" "./Common/zcl/zcl_partition.obj" "./Common/zcl/zcl_pi.obj" "./Common/zcl/zcl_poll_control.obj" "./Common/zcl/zcl_port.obj" "./Common/zcl/zcl_power_profile.obj" "./Common/zcl/zcl_se.obj" "./Common/zcl/zcl_ss.obj" "./Stack/Config/mac_user_config.obj" "./Stack/MAC/Debug/dbg.obj" "./Stack/MAC/HighLevel/mac_cfg.obj" "./Stack/MAC/LowLevel/mac_settings.obj" "./Stack/ROM/fh_rom_init.obj" "./Stack/ROM/hmac_rom_init.obj" "./Stack/ROM/icall_osal_rom_init.obj" "./Stack/ROM/lmac_rom_init.obj" "./Stack/ROM/rom_init_154.obj" "./Stack/ZStackTask/zstacktask.obj" "./Stack/af/af.obj" "./Stack/bdb/bdb.obj" "./Stack/bdb/bdb_finding_and_binding.obj" "./Stack/bdb/bdb_reporting.obj" "./Stack/bdb/bdb_touchlink.obj" "./Stack/bdb/bdb_touchlink_initiator.obj" "./Stack/bdb/bdb_touchlink_target.obj" "./Stack/nwk/binding_table.obj" "./Stack/nwk/nwk_globals.obj" "./Stack/nwk/stub_aps.obj" "./Stack/osal_port/osal_nv.obj" "./Stack/osal_port/osal_port.obj" "./Stack/osal_port/osal_port_timers.obj" "./Stack/sys/zdiags.obj" "./Stack/sys/zglobals.obj" "./Stack/zdo/zd_app.obj" "./Stack/zdo/zd_config.obj" "./Stack/zdo/zd_nwk_mgr.obj" "./Stack/zdo/zd_object.obj" "./Stack/zdo/zd_profile.obj" "./Stack/zdo/zd_sec_mgr.obj" "./Stack/zmac/zmac.obj" "./Stack/zmac/zmac_cb.obj" "../cc13x2_cc26x2.cmd" -l"configPkg/linker.cmd"  -l"/Users/username/CCStudioWorkspace/zed_simpleapp_CC2652RB_tirtos_ccs/default/syscfg/ti_utils_build_linker.cmd.genlibs" -l"/Users/username/ti/simplelink_cc13x2_26x2_sdk_5_20_00_52/source/ti/ti154stack/library/tirtos/ccs/timac_rom_PG2_0_rom_api_linker.cmd" -l"/Users/username/ti/simplelink_cc13x2_26x2_sdk_5_20_00_52/source/ti/devices/cc13x2_cc26x2/driverlib/bin/ccs/driverlib.lib" -llibc.a 
<Linking>
warning #10247-D: creating output section ".image_header" without a SECTIONS specification
 
 undefined    first referenced
  symbol          in file     
 ---------    ----------------
 flashEndAddr <whole-program> 
 prgEntryAddr <whole-program> 
 
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "zed_simpleapp_CC2652RB_tirtos_ccs.out" not built
 
gmake[1]: *** [zed_simpleapp_CC2652RB_tirtos_ccs.out] Error 1
>> Compilation failure
makefile:272: recipe for target 'zed_simpleapp_CC2652RB_tirtos_ccs.out' failed
gmake: *** [all] Error 2
makefile:268: recipe for target 'all' failed

**** Build Finished ****

I have never encountered this kind of error, and the information it provides seems a bit dry. Any hints what this could be? 

thank you!

  • Hello makerwolf,

    If you selected "OTA Client Enabled" from the Over-The-Air Upgrade Client Endpoint section of the Z-Stack SysConfig module, then you need to replace cc13x2_cc26x2.cmd with cc13x2_cc26x2_ota.cmd from <sdk install directory>\source\ti\zstack\boards\cc13x2_cc26x2 and app.cfg with oad_app.cfg from source\ti\zstack\rtos to resolve this issue.  You will still need to follow the Adding Post-Build Actions in order to get the correct binary output.

    Regards,
    Ryan