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.

RTOS/EK-TM4C123GXL: WiFi Provisioning on EK-TM4C123GXL with rtos. Linker Error unresolved symbol sl_WlanProvisioning.

Part Number: EK-TM4C123GXL
Other Parts Discussed in Thread: SYSBIOS, TM4C123GH6PM, CC3120, CC3100

Tool/software: TI-RTOS

WiFi Provisioning on EK-TM4C123GXL with rtos. Linker Error unresolved symbol sl_WlanProvisioning.

Trying out the Http echo example. need help.

Find attached build console output.


**** Clean-only build of configuration Debug for project tcpEchoCC3X00_EK_TM4C123GXL_TI ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 clean -O
 
cleaning ../src/sysbios ...
DEL /F  "tcpEchoCC3X00_EK_TM4C123GXL_TI.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "tcpEchoCC3X00_EK_TM4C123GXL_TI.out"
DEL /F "EK_TM4C123GXL.obj" "sockets.obj" "tcpEchoCC3X00.obj"
DEL /F "EK_TM4C123GXL.d" "sockets.d" "tcpEchoCC3X00.d"
RMDIR /S/Q  "configPkg\"
Could Not Find C:\Users\PVlab\workspace_v8\tcpEchoCC3X00_EK_TM4C123GXL_TI\Debug\tcpEchoCC3X00_EK_TM4C123GXL_TI.hex
Could Not Find C:\Users\PVlab\workspace_v8\tcpEchoCC3X00_EK_TM4C123GXL_TI\Debug\tcpEchoCC3X00_EK_TM4C123GXL_TI.out
Finished clean
 

**** Build Finished ****

**** Build of configuration Debug for project tcpEchoCC3X00_EK_TM4C123GXL_TI ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O
 
Building file: "../tcpEchoCC3X00.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_00_08/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ns_1_11_00_10/packages;C:/ti/simplelink_sdk_wifi_plugin_2_40_00_22/source;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C123GH6PM -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --include_path=\"C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/oslib\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/simplelink/include\" --include_path=\"C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix\" --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include\" --define=ccs=\"ccs\" --define=PART_TM4C123GH6PM --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../tcpEchoCC3X00.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring tcpEchoCC3X00.xem4f from package/cfg/tcpEchoCC3X00_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
arem4f BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
gmake[1]: Leaving directory `C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI/src/sysbios'
Build of libraries done.
clem4f package/cfg/tcpEchoCC3X00_pem4f.c ...
"package/cfg/tcpEchoCC3X00_pem4f.c", line 15655: warning #112-D: statement is unreachable
"package/cfg/tcpEchoCC3X00_pem4f.c", line 16141: warning #112-D: statement is unreachable
"package/cfg/tcpEchoCC3X00_pem4f.c", line 16376: warning #112-D: statement is unreachable
"package/cfg/tcpEchoCC3X00_pem4f.c", line 16596: warning #112-D: statement is unreachable
"package/cfg/tcpEchoCC3X00_pem4f.c", line 16795: warning #112-D: statement is unreachable
"package/cfg/tcpEchoCC3X00_pem4f.c", line 16976: warning #112-D: statement is unreachable
Finished building: "../tcpEchoCC3X00.cfg"
 
        1 file(s) copied.
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Nothing to be done for 'all'.
Building file: "../EK_TM4C123GXL.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --include_path="C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/oslib" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/simplelink/include" --include_path="C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="EK_TM4C123GXL.d_raw" --cmd_file="configPkg/compiler.opt" "../EK_TM4C123GXL.c"
Finished building: "../EK_TM4C123GXL.c"
 
Building file: "../tcpEchoCC3X00.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --include_path="C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/oslib" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/simplelink/include" --include_path="C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="tcpEchoCC3X00.d_raw" --cmd_file="configPkg/compiler.opt" "../tcpEchoCC3X00.c"
Finished building: "../tcpEchoCC3X00.c"
 
Building file: "../sockets.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --include_path="C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/oslib" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/simplelink/include" --include_path="C:/Users/PVlab/workspace_v8/tcpEchoCC3X00_EK_TM4C123GXL_TI" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sockets.d_raw" --cmd_file="configPkg/compiler.opt" "../sockets.c"
Finished building: "../sockets.c"
 
making ../src/sysbios/sysbios.aem4f ...
gmake[2]: Nothing to be done for 'all'.
Building target: "tcpEchoCC3X00_EK_TM4C123GXL_TI.out"
Invoking: ARM Linker
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"tcpEchoCC3X00_EK_TM4C123GXL_TI.map" --heap_size=0 --stack_size=512 -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="tcpEchoCC3X00_EK_TM4C123GXL_TI_linkInfo.xml" --rom_model -o "tcpEchoCC3X00_EK_TM4C123GXL_TI.out" "./EK_TM4C123GXL.obj" "./sockets.obj" "./tcpEchoCC3X00.obj" "../EK_TM4C123GXL.cmd" -l"configPkg/linker.cmd" -l"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b/grlib/ccs/Debug/grlib.lib" -l"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b/usblib/ccs/Debug/usblib.lib" -l"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b/driverlib/ccs/Debug/driverlib.lib" -llibc.a
<Linking>
 
 undefined           first referenced
  symbol                 in file     
 ---------           ----------------
 sl_WlanProvisioning <whole-program>
 
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "tcpEchoCC3X00_EK_TM4C123GXL_TI.out" not built
 
>> Compilation failure
makefile:146: recipe for target 'tcpEchoCC3X00_EK_TM4C123GXL_TI.out' failed
gmake[1]: *** [tcpEchoCC3X00_EK_TM4C123GXL_TI.out] Error 1
makefile:142: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****ole output.

  • Hello Gautam,

    What version of CCS are you using? How have you tried to build the example project? Did you import the project from Resource Explorer? If not, please try doing that as I used CCS v8 and imported from Resource Explorer without errors.
  • I imported from resource explorer. But here I am trying to port the sdk from cc3100 to cc3120.

    Hence facing issues. Kindly help.

    sl_WlanProvisioning function is defined and all necessary header files included. Still why linker is showing as unresolved symbol?

  • Hello Gautam,

    That is not possible to my knowledge, see my posts on this thread explaining that the CC3120 is NOT supported to be used with TM4C MCU's: e2e.ti.com/.../2866245

    If you have specific questions about the SDK, you should ask the WiFi team who supports the devices: e2e.ti.com/.../968
  • I have followed the steps in the cc3100 to cc3120 sdk migration guide.

    Is it a hardware issue that TM4C devices are not supported or some kind of software compatibility issue?

    Will there be no support for tm4c devices with cc3120 in the future?

  • Hello Gautam,

    I can't comment about the CC3100 to CC3120 migration steps, you need to ask the WiFi team about that. I am a TM4C expert and have never used the CC31xx devices myself. We had help from that team to make the TivaWare example functional.

    There will not be support for the CC3120 on TM4C in the future as TM4C will not be used to support SimpleLink SDK's since the SimpleLink ecosystem uses other ARM devices such as MSP432 variants.