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.

CC3200 example build errors after CCSv6 update

Other Parts Discussed in Thread: CC3200, TI-CGT, CC3200SDK

Hello,

I've made some updates in CCS6 (new TI compiler and some others..) and after that CC3200 examples (that previously built and worked without an problems) cannot be build with errors:

Description    Resource    Path    Location    Type
#10010 errors encountered during linking; "idle_profile.out" not built    idle_profile             C/C++ Problem
<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a>  unresolved symbols remain    idle_profile             C/C++ Problem
unresolved symbol __STACK_END, first referenced in ./startup_ccs.obj    idle_profile             C/C++ Problem
unresolved symbol __TI_decompress_none    idle_profile             C/C++ Problem
unresolved symbol __TI_decompress_rle24    idle_profile             C/C++ Problem
unresolved symbol __TI_zero_init    idle_profile             C/C++ Problem

I didn't make any changes in projects after update (wlan_station, idle_profile, hib). Result of bilding these projects is similar (above).

I was hoping that update will solve another problem... but result is - none of my project works now.

How coud I solve my porblem quickly?

  • Hello,
    It sounds like you are missing the run-time support library. Not sure how that happened because of an update. What version were you using before the update and what version did you update to? Also, which CC3200 examples are you using?

    Thanks
    ki
  • Hello,

    My OS : Windows 7 Enterprise,

    Code Composer Studio Version: 6.1.0.00104
    CC3200 SDK ver. 1.1.0
    CC31xx_CC32xx_ServicePack ver. 1.0.0.10.0
    I was using the same version ( 6.1.0.00104 ) before updates, beacuse I updated (probably) 6 components:
    1.ARM Compiler Tools    5.2.4
    2.Debug Server Flash    6.1.0.1247
    3.MSP430 Compiler Tools    4.4.5
    4.MSP430 Emulators    6.2.0.0
    5.TI Emulators    6.0.14.0
    6.TI Target Content    1.0.0.201504272116
    In the meantime I tried to solve this by completely uninstalling TI software (CC3200 SDK, cc3200 SDK Service Pack , CCS6), and installing them again (the same versions) according to "cc3200... Getting started Guide". There is still the same linker problem. Four of five project form Giude (driver_lib,os_lib, simplelink and ti_rtos_config ) builds with no errors but wlan_station builds with linker error:
    ...
    <Linking>
    warning #10366-D: automatic library build: using library "C:\ti\ccsv6\tools\compiler\ti-cgt-arm_5.2.2\lib\rtsv7M4_T_le_eabi.lib" for the first time, so it must be built.  This may take a few minutes.
          0 [main] sh 24748 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
    C:/Users/Ja/AppData/Local/Temp/make26344-1.sh: line 1: 24748 Segmentation fault      (core dumped) c:/ti/ccsv6/tools/compiler/ti-cgt~1.2/bin/armar -qa c:/users/ja/appdata/local/temp/ti69ac~1/rtsv7m4_t_le_eabi.lib *.obj
    gmake.exe[1]: *** [library] Error 139
    >> ERROR: mklib: gmake error during rtsv7M4_T_le_eabi.lib build
    warning #10207-D: automatic RTS selection:  resolving index library "libc.a" to "rtsv7M4_T_le_eabi.lib", but "rtsv7M4_T_le_eabi.lib" was not found

     undefined             first referenced                                                                                                                      
      symbol                   in file                                                                                                                           
     ---------             ----------------                                                                                                                      
     HOSTwrite             C:\ti\CC3200SDK_1.1.0\cc3200-sdk\ti_rtos\ti_rtos_config\ccs\Default\configPkg\package\cfg\app_pem4.oem4                               
     __TI_decompress_none                                                                                                                                        
     __TI_decompress_rle24                                                                                                                                       
     __TI_zero_init                                                                                                                                              
     __aeabi_uidivmod      C:\ti\tirtos_simplelink_2_13_01_09\products\bios_6_42_00_08\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>
     _args_main            C:\ti\tirtos_simplelink_2_13_01_09\products\bios_6_42_00_08\packages\ti\targets\arm\rtsarm\lib\boot.aem4<boot.oem4>                   

    >> Compilation failure
     _nop                  C:\ti\CC3200SDK_1.1.0\cc3200-sdk\ti_rtos\ti_rtos_config\ccs\Default\configPkg\package\cfg\app_pem4.oem4                               
     _register_lock        C:\ti\CC3200SDK_1.1.0\cc3200-sdk\ti_rtos\ti_rtos_config\ccs\Default\configPkg\package\cfg\app_pem4.oem4                               
     _register_unlock      C:\ti\CC3200SDK_1.1.0\cc3200-sdk\ti_rtos\ti_rtos_config\ccs\Default\configPkg\package\cfg\app_pem4.oem4                               
     abort                 C:\ti\tirtos_simplelink_2_13_01_09\products\bios_6_42_00_08\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>
     copy_in               C:\ti\tirtos_simplelink_2_13_01_09\products\bios_6_42_00_08\packages\ti\targets\arm\rtsarm\lib\auto_init.aem4<auto_init.oem4>         
     exit                  C:\ti\tirtos_simplelink_2_13_01_09\products\bios_6_42_00_08\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>
     main_func_sp          C:\ti\tirtos_simplelink_2_13_01_09\products\bios_6_42_00_08\packages\ti\targets\arm\rtsarm\lib\boot.aem4<boot.oem4>                   
     memcpy                C:\ti\CC3200SDK_1.1.0\cc3200-sdk\ti_rtos\ti_rtos_config\ccs\Default\configPkg\package\cfg\app_pem4.oem4                               
     memset                C:\ti\CC3200SDK_1.1.0\cc3200-sdk\ti_rtos\ti_rtos_config\ccs\Default\configPkg\package\cfg\app_pem4.oem4                               
     strlen                C:\ti\tirtos_simplelink_2_13_01_09\products\bios_6_42_00_08\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "wlan_station.out" not built
    gmake: *** [wlan_station.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****
    I also tried to build "idle_profile" and "hib" - error number is the same (139).
    I also removed all winavr path out from system PATH configuration, as a suggestion from thread:
    .but no result.
    Have You got any ideas?
    Thanks.
  • I tried one more thing - I restarted my PC (after removing WinAVR path out from system PATH configuration ). All the example projects are building now with NO ERRORS.
    So, it seems that removing WinAVR paths is the right way... (e2e.ti.com/.../379254)
    But WinAVR was installed a long time before TI and it was working until I accepted updates...
    Nevermind..
    Thanks for Your attention.