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.

Cannot compile wlan_station demo as per "CC3200 SimpleLink Wi-Fi and IoT Solution With MCU LaunchPad Getting Started Guide"

Other Parts Discussed in Thread: CC3200SDK, CC3200, UNIFLASH

Hi All,

I am following exactly all steps given in the document, but i am not able to compile it.

I dont get any error/warnings when building simplelink, ti_rtos_config, driverlib.

When building oslib i get following warnings:
#225-D function "prvPortStartFirstTask" declared implicitly    port.c    /oslib    line 348    C/C++ Problem
#225-D function "portCLZ" declared implicitly    tasks.c    /oslib    line 2156    C/C++ Problem

When building wlan_station getting following errors/warnings:

Errors
unresolved symbol memcpy, first referenced in Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4    wlan_station
unresolved symbol main_func_sp, first referenced in Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\boot.aem4<boot.oem4>    wlan_station
unresolved symbol exit, first referenced in Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>    wlan_station
unresolved symbol copy_in, first referenced in Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\auto_init.aem4<auto_init.oem4>    wlan_station
unresolved symbol strlen, first referenced in Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>    wlan_station             C/C++ Problem
unresolved symbol memset, first referenced in Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4    wlan_station             C/C++ Problem
unresolved symbol __TI_decompress_rle24    wlan_station
unresolved symbol __TI_zero_init    wlan_station
unresolved symbol __aeabi_uidivmod, first referenced in Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>    wlan_station             C/C++ Problem
unresolved symbol _args_main, first referenced in Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\boot.aem4<boot.oem4>    wlan_station             C/C++ Problem
unresolved symbol _nop, first referenced in Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4    wlan_station             C/C++ Problem
unresolved symbol _register_lock, first referenced in Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4    wlan_station             C/C++ Problem
unresolved symbol _register_unlock, first referenced in Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4    wlan_station             C/C++ Problem
unresolved symbol abort, first referenced in Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>    wlan_station             C/C++ Problem
unresolved symbol HOSTwrite, first referenced in Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4    wlan_station             C/C++ Problem
unresolved symbol __TI_decompress_none    wlan_station             C/C++ Problem
#10010 errors encountered during linking; "wlan_station.out" not built    wlan_station
#10234-D unresolved symbols remain    wlan_station             C/C++ Problem

Warnings
#10366-D automatic library build: using library "Q:\TI\CCS\ccsv6\tools\compiler\arm_5.1.6\lib\rtsv7M4_T_le_eabi.lib" for the first time, so it must be built.  This may take a few minutes.    wlan_station             C/C++ Problem
#10207-D automatic RTS selection:  resolving index library "libc.a" to "Q:\TI\CCS\ccsv6\tools\compiler\arm_5.1.6\lib\rtsv7M4_T_le_eabi.lib", but "Q:\TI\CCS\ccsv6\tools\compiler\arm_5.1.6\lib\rtsv7M4_T_le_eabi.lib" was not found    wlan_station             C/C++ Problem

Below is the Build Log for wlan_station

**** Build of configuration Release for project wlan_station ****

"Q:\\TI\\CCS\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common/gpio_if.c'
'Invoking: ARM Compiler'
"Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7M4 --abi=eabi -me --include_path="Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/include" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/include" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/source" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/oslib" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/driverlib" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/inc" -g --define=ccs --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="gpio_if.pp" --cmd_file="Q:/TI/projects/ti_rtos_config/Default/configPkg/compiler.opt"  "Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common/gpio_if.c"
'Finished building: Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common/gpio_if.c'
' '
'Building file: ../main.c'
'Invoking: ARM Compiler'
"Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7M4 --abi=eabi -me --include_path="Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/include" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/include" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/source" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/oslib" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/driverlib" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/inc" -g --define=ccs --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" --cmd_file="Q:/TI/projects/ti_rtos_config/Default/configPkg/compiler.opt"  "../main.c"
'Finished building: ../main.c'
' '
'Building file: ../pinmux.c'
'Invoking: ARM Compiler'
"Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7M4 --abi=eabi -me --include_path="Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/include" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/include" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/source" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/oslib" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/driverlib" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/inc" -g --define=ccs --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="pinmux.pp" --cmd_file="Q:/TI/projects/ti_rtos_config/Default/configPkg/compiler.opt"  "../pinmux.c"
'Finished building: ../pinmux.c'
' '
'Building file: Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common/uart_if.c'
'Invoking: ARM Compiler'
"Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7M4 --abi=eabi -me --include_path="Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/include" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/include" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/simplelink/source" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/oslib" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/driverlib" --include_path="Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/inc" -g --define=ccs --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="uart_if.pp" --cmd_file="Q:/TI/projects/ti_rtos_config/Default/configPkg/compiler.opt"  "Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common/uart_if.c"
'Finished building: Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/common/uart_if.c'
' '
'Building target: wlan_station.out'
'Invoking: ARM Linker'
"Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7M4 --abi=eabi -me -g --define=ccs --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED --display_error_number --diag_warning=225 --diag_wrap=off -z -m"wlan_station.map" --heap_size=0x800 --stack_size=0x800 -i"Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/lib" -i"Q:/TI/CCS/ccsv6/tools/compiler/arm_5.1.6/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="wlan_station_linkInfo.xml" --rom_model -l"Q:/TI/projects/ti_rtos_config/Default/configPkg/linker.cmd" -o "wlan_station.out"  "./gpio_if.obj" "./main.obj" "./pinmux.obj" "./uart_if.obj" "../cc3200v1p32.cmd" -l"libc.a" -l"Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs//../../../driverlib/ccs/Release/driverlib.a" -l"Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs//../../../simplelink/ccs/OS/simplelink.a" -l"Q:/TI/CC3200SDK_1.0.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs//../../../oslib/ccs/ti_rtos/ti_rtos.a"
<Linking>
warning #10366-D: automatic library build: using library "Q:\TI\CCS\ccsv6\tools\compiler\arm_5.1.6\lib\rtsv7M4_T_le_eabi.lib" for the first time, so it must be built.  This may take a few minutes.
      0 [main] sh 6068 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
P:/Users/anish/AppData/Local/Temp/make6212-1.sh: line 1:  6068 Segmentation fault      (core dumped) q:/ti/ccs/ccsv6/tools/compiler/arm_51~1.6/bin/armar -qa p:/users/anish/appdata/local/temp/ti_mkl~3/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 "Q:\TI\CCS\ccsv6\tools\compiler\arm_5.1.6\lib\rtsv7M4_T_le_eabi.lib", but "Q:\TI\CCS\ccsv6\tools\compiler\arm_5.1.6\lib\rtsv7M4_T_le_eabi.lib" was not found

 undefined             first referenced                                                                                                                          
  symbol                   in file                                                                                                                               
 ---------             ----------------                                                                                                                          
 HOSTwrite             Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4                                                                 
 __TI_decompress_none                                                                                                                                            
 __TI_decompress_rle24                                                                                                                                           
 __TI_zero_init                                                                                                                                                  
 __aeabi_uidivmod      Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>
 _args_main            Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\boot.aem4<boot.oem4>                   
 _nop                  Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4                                                                 
 _register_lock        Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4                                                                 
 _register_unlock      Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4                                                                 
 abort                 Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>
 copy_in               Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\auto_init.aem4<auto_init.oem4>         
 exit                  Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aem4<System.oem4>
 main_func_sp          Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages\ti\targets\arm\rtsarm\lib\boot.aem4<boot.oem4>                   
 memcpy                Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4                                                                 
 memset                Q:\TI\projects\ti_rtos_config\Default\configPkg\package\cfg\app_pem4.oem4                                                                 
 strlen                Q:\TI\CCS\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\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
>> Compilation failure
gmake: *** [wlan_station.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Need assistance.

  • Did you:
    - right mouse on the project explorer -> import -> ccs projects
    - point to c:\ti\sdk directory
    - check that you get a list of all example projects.
    - Make sure you have "copy projects into workspace" enabled / checked! Else you get all kind of reference errors.

    Maybe you have that last checkbox unchecked?
  • I followed all steps mentioned above many times, i also re-installed[many times] all software but problems remains same.
  • Hi Anish,

    I suspect you did not install from CCS App Center "CC3200 Add-on" and "TI-RTOS for SimpleLink", as mentioned at the Getting Started Guide. Install both if you have not done so.

    What Windows Version are you using?

    - kel
  • Hi Markel,

    I did installed "CC3200 Add-on" and "TI-RTOS for SimpleLink", from CCS App Center.

    My system spec:

    Windows 7 Ulimate 64bit, Intel(R) Pentium(R) CPU G3220 @ 3.00GHz, 4GB Ram
  • Hi,

      Did you do a fresh install of CCS V6 and not update from a lower version of CCS?

      See, if details in my blog post below can help solve your problem.

      http://markelthinkslearnscreates.wordpress.com/2014/09/18/upgrading-to-current-cc3200-sdk-and-ti-rtos-for-cc3200-revision-for-ccs-development/

    - kel

  • Hi,

    I installed lastest version from the website itself.

    Below are the software which i have installed:
    1. CCS6.0.1.00040_win32
    2. CC3200SDK-1.0.0-windows-installer
    3. CC31xx_CC32xx_ServicePack-1.0.0.1.2-windows-installer
    4. CC3200_OTA_Update-1.0.0-windows-installer
    5. uniflash_cc3xxx_setup_3.2.0.00065
    6. pinmux-3.0.516-setup
  • Hi,

    It looks like the "libc.a" library is not being included. Can you confirm that libc.a is in your link properties: CCS project properties->Build->Arm Linker->File Search Path. Can you check the directory to see if it exists. For example: C:\ti\ccs6_1\ccsv6\tools\compiler\ti-cgt-arm_5.2.1\lib\libc.a.

    Todd

  • Hi,
    At last i am able to compile CC3200 demo, the bad guy was WinAVR, once i uninstalled it everything goes according to docs.

    Thank you guys for your support

  • Hi Anish,
    Could you please detail how you solve the issue.
    I do have the exact same problem (except the error message is on symbol "remain")
    I did a fresh install, followed all steps but I'm still unable to build the project wlan_station!
    I'm running Windows 8.1
    Thanks
    JYL
  • Actually found a workaround from another post: the problem is in the path when Cygwin is already installed on the computer.
    I just placed C:\ti\ccsv6\utils\cygwin; before the existing cygwin path in the environment variable and it worked!
    As mentioned in the other post, this cannot be accepted as a solution, because all other usages of Cygwin will be affected...

    I'm however able to compile now.
    Not yet able to run the demo, but this now needs further investigations (maybe another conflict with other existing devices...)

    JYL
  • I also could not compile the wlan_station demo according to the start up instructions. Only after I uninstalled WinAVR after seeing this forum post was I able to compile successfully the demo. I also tried moving ti's cygwin in front of other cygwin versions in my system path, but that wasn't enough, I also had to uninstall WinAVR.

  • Hi,

    Have solved the problem?

    I faced the same situation which was very frustrated.  I was not able to build the project neither to debug wlan_station application.

    I was getting the same error you are getting.  I have asked question here but no help.  I just went on uninstalling all software.

    The way I managed to get further:

    1. I have uninstalled all the software I said all of the software which are related to this cc3200 LP , example:

     - cc3200SDK KIT

     - CC3200 SDK-SERVCES PACK

     - UNIFLASH

     - CCS CODE COMPOSER STUDIO

     -TI-RTOS

    After I have uninstalled all of the software, I reinstalled them:  in the video of project 0 wlan station, it does not reflect all the stuff that you need to select for example when you have to install uniflash and CCS, you have to select some additional features, if you get them wrong , you will screw up.  what I did, I have installed every thing because I did not know what to install and what to leave out.  This required lot of space and time as I have to install all packages.

    After successfully installed all software with fully option,  I managed to to compile the project and to debug wlan_station application.

    When I was able to debug wlan_station application,  I managed to get the screen shown on page 16 Figure 16. Tera Term VT.

    Even though I manage only to successfully get the first part as shown below:

    *************************************************************************************

                                                             CC3200 WLAN STATION Application

    *************************************************************************************

    Host Driver Version: 1.0.1.6

    Build Version 2.6.0.5.31.1.4.0.1.1.0.3.34

    Device is configured in default state

    Device started as STATION

    But I did not get the rest of the message such as pinging the device to the network.

    I still need to ask for help to successfully get this project completed so I can move on.

    I have attached a video to show you what I have achieved so far.

    Thanks

  • I replied about this at your other post here below.

    - kel