Other Parts Discussed in Thread: SYSBIOS, TM4C1294NCPDT
Tool/software: TI-RTOS
Hi
I am using CCSv7, TI-RTOS for TivaC 2.16.01.14, XDCtools v 3.32.0.06_core and Compiler ti-cgt-arm_18.12.2.LTS.
I'm trying to get HTTPSGET example working.
I followed all the steps for build and include path and file as stated here http://processors.wiki.ti.com/index.php?title=Using_wolfSSL_with_TI-RTOS
After I build the project I'm getting these 2 errors on both versions of WolfSSL. I tried 4.0.0 and 3.15.7
**** Build of configuration Debug for project httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT ****
"C:\\ti2\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Nothing to be done for 'all'.
'Building file: ../httpsget.c'
'Invoking: ARM Compiler'
"C:/ti2/ccsv7/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/wolfssl/wolfssl-3.15.7-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/Users/drai/Documents/my_workspace/httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --include_path="C:/Users/drai/Documents/my_workspace/httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" --include_path="C:/ti2/ccsv7/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=NET_NDK --define=WOLFSSL_TIRTOS --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="httpsget.d_raw" --cmd_file="configPkg/compiler.opt" "../httpsget.c"
'Finished building: ../httpsget.c'
' '
'Building file: ../EK_TM4C1294XL.c'
'Invoking: ARM Compiler'
"C:/ti2/ccsv7/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/wolfssl/wolfssl-3.15.7-stable" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/Users/drai/Documents/my_workspace/httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --include_path="C:/Users/drai/Documents/my_workspace/httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" --include_path="C:/ti2/ccsv7/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=NET_NDK --define=WOLFSSL_TIRTOS --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_TM4C1294XL.d_raw" --cmd_file="configPkg/compiler.opt" "../EK_TM4C1294XL.c"
'Finished building: ../EK_TM4C1294XL.c'
' '
making ../src/sysbios/sysbios.aem4f ...
gmake[2]: Nothing to be done for 'all'.
'Building target: httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT.out'
'Invoking: ARM Linker'
"C:/ti2/ccsv7/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=NET_NDK --define=WOLFSSL_TIRTOS --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"httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT.map" --heap_size=0 --stack_size=512 -i"C:/ti2/ccsv7/tools/compiler/ti-cgt-arm_18.12.2.LTS/lib" -i"C:/ti2/ccsv7/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT_linkInfo.xml" --rom_model -o "httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT.out" "./EK_TM4C1294XL.obj" "./httpsget.obj" "../EK_TM4C1294XL.cmd" -l"configPkg/linker.cmd" -l"C:/ti/wolfssl/wolfssl-3.15.7-stable/tirtos/packages/ti/net/wolfssl/lib/wolfssl.aem4f" -l"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/grlib/ccs/Debug/grlib.lib" -l"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/usblib/ccs/Debug/usblib.lib" -l"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/driverlib/ccs/Debug/driverlib.lib" -llibc.a
<Linking>
undefined first referenced
symbol in file
--------- ----------------
wolfTLSv1_client_method C:\ti\tirtos_tivac_2_16_01_14\products\ns_1_11_00_10\packages\ti\net\lib\network_ndk_wolfssl.aem4f<tls_wolfssl.oem4f>
wolfTLSv1_server_method C:\ti\tirtos_tivac_2_16_01_14\products\ns_1_11_00_10\packages\ti\net\lib\network_ndk_wolfssl.aem4f<tls_wolfssl.oem4f>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT.out" not built
>> Compilation failure
makefile:146: recipe for target 'httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT.out' failed
gmake[1]: *** [httpsget_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT.out] Error 1
makefile:142: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
the highlighted errors are present in both the versions.
Can anyone help me with this?
I also found a similar post here https://e2e.ti.com/support/microcontrollers/other/f/908/t/693291
because of that I tried a older version of SSL but still no success.
Regards,
Deepak