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.

WLAN_STATION compiling problem

Other Parts Discussed in Thread: CC3200SDK, CC3200, SYSBIOS

Hi,

I just trying the CC3200 LAUNCHXL kit and want to compile the wlan_station demo from CCS. I followed step by step the ccs guide but no luck.

I imported all the projects needed without checking "copy poriojects into workspace" as detailed in the manual (the wlan_project is copied by default).

Compiled all projects in order as described.

changed from free_rtos to ti_rtos property in oslib.

The first time I compiled all projects there were some warnings but changing the compiler version to (TI v15.9.0.STS) solves all of them)

The only problem I have actually is with the wlan_station project.

The errors are:

1) Description Resource Path Location Type #10010 errors encountered during linking; "wlan_station.out" not built wlan_station C/C++ Problem

2) Description Resource Path Location Type <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain wlan_station C/C++ Problem

3) Description Resource Path Location Type unresolved symbol IdleHookFunction, first referenced in C:\TI\CC3200SDK_1.1.0\cc3200-sdk\ti_rtos\ti_rtos_config\ccs\Default\configPkg\package\cfg\app_pem4.oem4 wlan_station C/C++ Problem

I read different posts in the forum explaining problems with winavr, windows 8, and so on.

As i'm using windows 8.1 I tried to run ccs as administrator and windows 7 compatibility mode without luck.

Using software:

Windwos 8.1

CCS 6.1.1.00022 

CC3200SDK_1.1.0

Thanks for your help in advance,

  • hello,
    Please re-build the project and provide the full build output from the console.

    Thanks
    ki
  • Hi Ki,

    Thanks for your help. I add the output console text.

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

    "C:\\TI\\ccsv6\\utils\\bin\\gmake" -k all

    'Building target: wlan_station.out'

    'Invoking: ARM Linker'

    "C:/TI/ccsv6/tools/compiler/ti-cgt-arm_15.9.0.STS/bin/armcl" -mv7M4 -me -g --define=ccs --define=USE_TIRTOS --define=SL_PLATFORM_MULTI_THREADED --define=cc3200 --display_error_number --diag_wrap=off --diag_warning=225 --abi=eabi -z -m"wlan_station.map" --heap_size=0x800 --stack_size=0x800 -i"C:/TI/ccsv6/tools/compiler/ti-cgt-arm_15.9.0.STS/lib" -i"C:/TI/ccsv6/tools/compiler/ti-cgt-arm_15.9.0.STS/include" --reread_libs --display_error_number --diag_wrap=off --warn_sections --xml_link_info="wlan_station_linkInfo.xml" --rom_model -o "wlan_station.out" "./gpio_if.obj" "./main.obj" "./pinmux.obj" "./uart_if.obj" "../cc3200v1p32.cmd" -l"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/ti_rtos/ti_rtos_config/ccs/Default/configPkg/linker.cmd" -l"libc.a" -l"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs/../../../oslib/ccs/ti_rtos/ti_rtos.a" -l"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs/../../../driverlib/ccs/Release/driverlib.a" -l"C:/TI/CC3200SDK_1.1.0/cc3200-sdk/example/getting_started_with_wlan_station/ccs/../../../simplelink/ccs/OS/simplelink.a"

    <Linking>

    undefined        first referenced                                                                                      

     symbol              in file                                                                                            

    ---------        ----------------                                                                                      

    IdleHookFunction C:\TI\CC3200SDK_1.1.0\cc3200-sdk\ti_rtos\ti_rtos_config\ccs\Default\configPkg\package\cfg\app_pem4.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 ****

  • What TI-RTOS version are you using?
  • The TI_RTOS version is: v2.14.3.28

  • I have no issues building the project using the same compiler and TI-RTOS versions.

    Did you modify the app.cfg for hooking a function to the idle task?

  • Dindn't modified anything :(

    Only import, and step by step guide from TI
  • can you send me your app.cfg file from the ti_rtos_config project?
  • I can't attach anything. What's the way to send files in the forum?

  • I believe the forum only accepts certain file formats. Try zipping it up or renaming the extension to .txt
  • app.rarHere is. hope.

  • Thanks.

    Lines 56-58 appear to have been added in since they are not supposed to be there by default:

    // AÑADIDAS COMO DEMO
    var Idle = xdc.useModule('ti.sysbios.knl.Idle');
    Idle.addFunc('&IdleHookFunction');
  • Hi Ki,

    I don0t undeerstan whay these are there. I will check tomorrow and will say if it was the problem.

    Thanks a lot.
  • ok. In the meantime, comment out those lines and the project should build successfully.
  • Hi,

    Few minutes ago I opened the app.cfg file in ccs v6 and I saw both lines were commented!!!!!! I don't understand how it happens. After read the recommendation yesterday I switch off the pc and today I found it corrected! I'm very surprised.


    Compiled ti_rtos again and wlan_station succesfully.

    Thanks for your help. I can't believe how both lines appear commented today