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/LAUNCHXL-CC1310: Output file can not be generated in ccs

Expert 1760 points
Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310, SYSBIOS

Tool/software: Code Composer Studio

hello friends,

I'm working on rfEasyLink project. I want to send a sensor data periodically every 10seconds. For that I'm using the Clock_Construct api from utility.c file. But even after including the file header and giving path of the same, im getting the following error while linking. please let me know how can I solve the issue. I'm new to CCS compiler.

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "test1.out" not built
gmake: *** [test1.out] Error 1
gmake: Target `all' not remade because of errors.

Thanks.

  • Hello

    Dilu said:
    error #10234-D: unresolved symbols remain

    This is a very common error. Please see the below link for more details:

    https://software-dl.ti.com/ccs/esd/documents/sdto_ccs_build-errors.html#error-10234-d-unresolved-symbols-remain

    Thanks

    ki

  • Hi Ki,

    I have added the path as you mentioned. Now I'm getting error #10008 and warning #10007. 

  • i'm not sure what those number refer to. Please provide the full error descriptions in the console.

  • Hi Ki,

    please find the attached screenshot of the errors I'm getting after solving the previous errors as mentioned in comments above.

  • Please provide the build console output. That is more helpful for us to analyze.

    Thanks

    ki

  • Hi Ki,

    Please find the console output=>

    **** Build of configuration Debug for project rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs ****

    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k -j 2 all -O

    Building file: "../rfEasyLinkEchoTx.c"
    Invoking: ARM Compiler
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=none -me --include_path="F:/CTS_IOT/CC1310/01_simpleLinkTx/rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source/ti/posix/ccs" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" --include_path="C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source/ti/blestack/inc" --include_path="C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source/ti/blestack/osal/src/inc" --define=DeviceFamily_CC13X0 --define=CCFG_FORCE_VDDR_HH=0 --define=SUPPORT_PHY_CUSTOM --define=SUPPORT_PHY_50KBPS2GFSK --define=SUPPORT_PHY_625BPSLRM --define=SUPPORT_PHY_5KBPSSLLR -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="rfEasyLinkEchoTx.d_raw" --cmd_file="F:/CTS_IOT/CC1310/01_simpleLinkTx/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../rfEasyLinkEchoTx.c"
    "../rfEasyLinkEchoTx.c", line 378: warning #225-D: function "ExtFlash_open" declared implicitly
    Finished building: "../rfEasyLinkEchoTx.c"

    Building target: "rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out"
    Invoking: ARM Linker
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=none -me --define=DeviceFamily_CC13X0 --define=CCFG_FORCE_VDDR_HH=0 --define=SUPPORT_PHY_CUSTOM --define=SUPPORT_PHY_50KBPS2GFSK --define=SUPPORT_PHY_625BPSLRM --define=SUPPORT_PHY_5KBPSSLLR -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.map" -i"C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source" -i"C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages" -i"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/lib" --diag_wrap=off --display_error_number --warn_sections --xml_link_info="rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs_linkInfo.xml" --rom_model -o "rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out" "./CC1310_LAUNCHXL.obj" "./CC1310_LAUNCHXL_fxns.obj" "./ccfg.obj" "./rfEasyLinkEchoTx.obj" "./easylink/EasyLink.obj" "./easylink/easylink_config.obj" "./smartrf_settings/smartrf_settings.obj" "./smartrf_settings/smartrf_settings_predefined.obj" "../CC1310_LAUNCHXL_TIRTOS.cmd" -l"ti/display/lib/display.aem3" -l"ti/grlib/lib/ccs/m3/grlib.a" -l"third_party/spiffs/lib/ccs/m3/spiffs_cc26xx.a" -l"ti/drivers/rf/lib/rf_multiMode_cc13x0.aem3" -l"ti/drivers/lib/drivers_cc13x0.aem3" -l"ti/dpl/lib/dpl_cc13x0.aem3" -l"F:/CTS_IOT/CC1310/01_simpleLinkTx/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug/configPkg/linker.cmd" -l"ti/devices/cc13x0/driverlib/bin/ccs/driverlib.lib" -llibc.a
    <Linking>

    undefined first referenced
    symbol in file
    --------- ----------------
    ExtFlash_open ./rfEasyLinkEchoTx.obj
    Util_constructClock ./rfEasyLinkEchoTx.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out" not built

    >> Compilation failure
    makefile:162: recipe for target 'rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out' failed
    gmake[1]: *** [rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out] Error 1
    makefile:155: recipe for target 'all' failed
    gmake: *** [all] Error 2

    **** Build Finished ****

  • Dilu said:
    ndefined first referenced
    symbol in file
    --------- ----------------
    ExtFlash_open ./rfEasyLinkEchoTx.obj
    Util_constructClock ./rfEasyLinkEchoTx.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out" not built

    This is a different error and similar to the one you mentioned in your first post. You need to to include the object file(s) that define ExtFlash_open and Util_constructClock

  • Hi Ki,

    Thanks for the response.

    "You need to to include the object file(s) that define ExtFlash_open and Util_constructClock".  How can I include the object files? and where?

    For your information:

    1) I'm already including the path "#include <ti/blestack/common/cc26xx/util.h>"

    2) As you mentioned I already added the path of the files => Under Project Properties -> Build ->Linker ->File Search Path

    Thanks

  • Dilu said:
    1) I'm already including the path "#include <ti/blestack/common/cc26xx/util.h>"

    This would provide the function declaration. But not the definition.

    What is the difference?

    http://c-faq.com/decl/decldef.html

    Dilu said:
    2) As you mentioned I already added the path of the files => Under Project Properties -> Build ->Linker ->File Search Path

    Did you just add the path to the --search_path option? That is not enough. You need to specify the object/library file that the functions in question are defined in.

  • Hi Ki,

    After adding the the path to the --search_path option, and then specify the object/library file , i got the following error =>


    **** Build of configuration Debug for project rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs ****

    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k -j 2 all -O

    Building target: "rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out"
    Invoking: ARM Linker
    "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=none -me --define=DeviceFamily_CC13X0 --define=CCFG_FORCE_VDDR_HH=0 --define=SUPPORT_PHY_CUSTOM --define=SUPPORT_PHY_50KBPS2GFSK --define=SUPPORT_PHY_625BPSLRM --define=SUPPORT_PHY_5KBPSSLLR -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.map" -i"C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source/ti/blestack/common/cc26xx" -i"C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source" -i"C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages" -i"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/lib" -i"C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source/ti/blestack/inc" -i"C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source/ti/blestack/osal/src/inc" --diag_wrap=off --display_error_number --warn_sections --xml_link_info="rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs_linkInfo.xml" --rom_model -o "rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out" "./CC1310_LAUNCHXL.obj" "./CC1310_LAUNCHXL_fxns.obj" "./ccfg.obj" "./rfEasyLinkEchoTx.obj" "./easylink/EasyLink.obj" "./easylink/easylink_config.obj" "./smartrf_settings/smartrf_settings.obj" "./smartrf_settings/smartrf_settings_predefined.obj" "../CC1310_LAUNCHXL_TIRTOS.cmd" -lutil.h -l"ti/display/lib/display.aem3" -l"ti/grlib/lib/ccs/m3/grlib.a" -l"third_party/spiffs/lib/ccs/m3/spiffs_cc26xx.a" -l"ti/drivers/rf/lib/rf_multiMode_cc13x0.aem3" -l"ti/drivers/lib/drivers_cc13x0.aem3" -l"ti/dpl/lib/dpl_cc13x0.aem3" -l"F:/CTS_IOT/CC1310/01_simpleLinkTx/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug/configPkg/linker.cmd" -l"ti/devices/cc13x0/driverlib/bin/ccs/driverlib.lib" -llibc.a
    <Linking>
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/Clock.h", line 52: error #19000-D: can't open file: <xdc/std.h>
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/Clock.h", line 54: error #19000-D: can't open file: <xdc/runtime/xdc.h>
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/Clock.h", line 55: error #19000-D: can't open file: <xdc/runtime/Types.h>
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/Clock.h", line 56: error #19000-D: can't open file: <xdc/runtime/IInstance.h>
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 16: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 16: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 16: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Module_State"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 16: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Module_State"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 16: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 17: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 17: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 17: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Params"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 17: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Params"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 17: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 18: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 18: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 18: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Object"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 18: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Object"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 18: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 19: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 19: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 19: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 19: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 19: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 20: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 20: warning #10007-D: no files match the pattern ti_sysbios_knl_Clock_Object*
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 20: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Handle"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 20: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 21: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 21: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 21: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Object__"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 21: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Instance_State"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 21: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 22: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 22: warning #10007-D: no files match the pattern ti_sysbios_knl_Clock_Object*
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 22: error #10008-D: cannot find file "ti_sysbios_knl_Clock_Instance"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 22: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 33: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 33: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 33: error #10008-D: cannot find file "ti_sysbios_knl_Intrinsics_Fxns__"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 33: error #10008-D: cannot find file "ti_sysbios_knl_Intrinsics_Fxns__"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 33: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 34: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 34: error #10008-D: cannot find file "const"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 34: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 34: warning #10007-D: no files match the pattern ti_sysbios_knl_Intrinsics_Fxns__*
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 34: error #10008-D: cannot find file "ti_sysbios_knl_Intrinsics_Module"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 34: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 40: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 40: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 40: error #10008-D: cannot find file "ti_sysbios_knl_Event_PendElem"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 40: error #10008-D: cannot find file "ti_sysbios_knl_Event_PendElem"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 40: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 41: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 41: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 41: error #10008-D: cannot find file "ti_sysbios_knl_Event_Params"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 41: error #10008-D: cannot find file "ti_sysbios_knl_Event_Params"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 41: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 42: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 42: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 42: error #10008-D: cannot find file "ti_sysbios_knl_Event_Object"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 42: error #10008-D: cannot find file "ti_sysbios_knl_Event_Object"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 42: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 43: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 43: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 43: error #10008-D: cannot find file "ti_sysbios_knl_Event_Struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 43: error #10008-D: cannot find file "ti_sysbios_knl_Event_Struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 43: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 44: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 44: warning #10007-D: no files match the pattern ti_sysbios_knl_Event_Object*
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 44: error #10008-D: cannot find file "ti_sysbios_knl_Event_Handle"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 44: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 45: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 45: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 45: error #10008-D: cannot find file "ti_sysbios_knl_Event_Object__"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 45: error #10008-D: cannot find file "ti_sysbios_knl_Event_Instance_State"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 45: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 46: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 46: warning #10007-D: no files match the pattern ti_sysbios_knl_Event_Object*
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 46: error #10008-D: cannot find file "ti_sysbios_knl_Event_Instance"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 46: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 52: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 52: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 52: error #10008-D: cannot find file "ti_sysbios_knl_Mailbox_MbxElem"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 52: error #10008-D: cannot find file "ti_sysbios_knl_Mailbox_MbxElem"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 52: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 53: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 53: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 53: error #10008-D: cannot find file "ti_sysbios_knl_Mailbox_Params"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 53: error #10008-D: cannot find file "ti_sysbios_knl_Mailbox_Params"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 53: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 54: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 54: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 54: error #10008-D: cannot find file "ti_sysbios_knl_Mailbox_Object"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 54: error #10008-D: cannot find file "ti_sysbios_knl_Mailbox_Object"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 54: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 55: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 55: error #10008-D: cannot find file "struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 55: error #10008-D: cannot find file "ti_sysbios_knl_Mailbox_Struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 55: error #10008-D: cannot find file "ti_sysbios_knl_Mailbox_Struct"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 55: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 56: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 56: warning #10007-D: no files match the pattern ti_sysbios_knl_Mailbox_Object*
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 56: error #10008-D: cannot find file "ti_sysbios_knl_Mailbox_Handle"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 56: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 57: error #10008-D: cannot find file "typedef"
    "C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages/ti/sysbios/knl/package/package.defs.h", line 57: error #10008-D: cannot find file "struct"
    fatal error #99900: error limit reached; 100 errors detected

    >> Compilation failure
    makefile:163: recipe for target 'rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out' failed
    gmake[1]: *** [rfEasyLinkEchoTx_CC1310_LAUNCHXL_tirtos_ccs.out] Error 1
    gmake: *** [all] Error 2
    makefile:156: recipe for target 'all' failed

    **** Build Finished ****

    Please find below my search path adding, and library files:  => highlighted in yellow

  • util.h is a header file. Not an object file.

    https://stackoverflow.com/questions/7718299/whats-an-object-file-in-c

    You do NOT specify header files in the --library options field. You specify object files and library files.

    Where are ExtFlash_open and Util_constructClock defined? If it is in a C source file that you can add to your project, then add it to you project. If it in a library file that you can reference, then specify the library file in the --library options field.

  • Thanks for clarification. I was thinking header as library file.

    Util_constructClock is defined in a C source file. But it has dependency with other headerfiles like hal_types , hal_defs, bcomdef.h etc. So if I add it to my project, again I have to give path search path?

  • You will need to make sure you have the header file include search paths to those dependent header files set up properly. Those can be set under "Compiler -> Include Options""

  • Hello Ki,

    Thanks, it worked after adding util to the project and adding the path of dependent header files.