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.

CCS/CC3220SF-LAUNCHXL: Build errors in the AWS project shadow_sample_CC3220SF_LAUNCHXL_tirtos_ccs

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3220SF, SYSBIOS

Tool/software: Code Composer Studio

Hi,

I am trying to build the shadow sample aws project for the CC3220SF-LAUNCHXL in CCS. I am using CCS 7.2, aws iot sdk "aws_cc3220_1_10_00_07" and CC3220 sdk "simplelink_cc32xx_sdk_2_10_00_04". I am getting the following error while trying to build the application. Can anyone please suggest what could be the issue and how to solve it. 

**** Build of configuration Debug for project shadow_sample_CC3220SF_LAUNCHXL_tirtos_ccs ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
'Building file: ../timer.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/ti/aws_cc3220_1_10_00_07/source" --include_path="C:/Users/TnC/workspace_skaws1/shadow_sample_CC3220SF_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/aws_cc3220_1_10_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_2_10_00_04/source/ti/drivers/net/wifi/bsd" --include_path="C:/ti/simplelink_cc32xx_sdk_2_10_00_04/kernel/tirtos/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include" --define=NET_SL --define=ENABLE_IOT_INFO --define=ENABLE_IOT_ERROR --define=ENABLE_IOT_WARN --define=ENABLE_IOT_DEBUG -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="timer.d" --cmd_file="C:/Users/TnC/workspace_skaws1/aws_cc32xx_tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../timer.c"

>> Compilation failure
subdir_rules.mk:142: recipe for target 'timer.obj' failed
"../timer.c", line 23: error #71: incomplete type is not allowed
"../timer.c", line 28: warning #225-D: function "clock_gettime" declared implicitly
"../timer.c", line 28: error #20: identifier "CLOCK_MONOTONIC" is undefined
"../timer.c", line 54: error #71: incomplete type is not allowed
"../timer.c", line 61: warning #225-D: function "clock_gettime" declared implicitly
"../timer.c", line 61: error #20: identifier "CLOCK_MONOTONIC" is undefined
4 errors detected in the compilation of "../timer.c".
gmake: *** [timer.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Regards,

Sourajit