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: issues on compilation using TI Studio. The code worked on older version studio.

Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Under new studio, we are getting the following error. Error Detail:
Building file: "../rfExamples.cfg"

making package.mak (because of .xdcenv.mak) ...
configuring rfExamples.xem3 from package/cfg/rfExamples_pem3.cfg ...
subdir_rules.mk:19: recipe for target 'build-1399477071-inproc' failed
js: "C:/Users/MavinApps/workspace_v10/HUB_RS232_Ver13_6/rfExamples.cfg", line 602: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.mw' along the path: 'C:/ti/ccs1000/ccs/ccs_base;C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source;C:/ti/simplelink_cc13x0_sdk_3_20_00_23/kernel/tirtos/packages;C:/ti/xdctools_3_32_00_06_core/packages;..;'. Ensure that the package path is set correctly.
"./package/cfg/rfExamples_pem3.cfg", line 180
gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Error 1
js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1399477071-inproc] Error 1
gmake: *** [build-1399477071] Error 2
subdir_rules.mk:16: recipe for target 'build-1399477071' failed
gmake: Target 'all' not remade because of errors.

We are not sure how to resolve this as it working earlier with the older version of Studio. We are using cc13x0 wireless kit

  • Hi Baskar,

    Are you trying to migrate a project to a new version (e.g. simplelink_cc13x0_sdk_3_20_00_23)? I'm asking because of two reasons:

    1. you are using an old version of XDCtools. For simplelink_cc13x0_sdk_3_20_00_23 we recommend xdctools_3_51_03_28.

    2. The "ti.mw" directory is from an older product.

    In short, can you give the history of the project?

    Additionally, can you build an example from the simplelink_cc13x0_sdk_3_20_00_23 product. I want to confirm that you have a proper setup.

    Todd  

  • Hi Todd

    Initially, we have created this project in the CCS V7.

    When we try to build this project in the CCS V7 it succeeds and but it fails in the CCS V10. Do you have any guide for migrating a project to a new version? 

    We are able to build an example from the simplink_cc13x0.

    Thanks

    Baskar

  • Initially, we have created this project in the CCS V7. Now we are trying to build it in the CCS V10, it fails with the above error. But it works in the CCS V7.

    Do you have any guide to migrate the old project into a new version?

    We are able to build an example from the simplelink_cc13x0_sdk_3_20_00_23 product.

  • Hi Baskar,

    Can you show a picture of Project Properties->General->Product for both the CCS v7 and CCS v10 setup you have? The window will look slightly different between the two CCS versions. Here is an example of the CCS v10 project.

    I'm wanting to see what versions you are using in both setups to give better guidance. Note: depending what you have installed on CCS v7, you might have to increase the size of the window to get all the products shown. I want to see the ones with a checkmark.

    Todd

  • Hello Baskar, 

    Baskar Rukmangadan said:
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2);

    Which xdctools version do you use under CCSv7?
    Please post your build log created under CCSv7.
    Which CCSv7 subversion do you use?

  • Hi,

    In CCSV7 we have the XDC v3.32.0.06_core and also I have installed the same version in the CCSV10. But still have the same error. Please find the screenshot of both CCSV7 and CCCV10

  • Hi, 

    sdk_3_20_00_23 requires xdctools_3_51_03_28 version as minimum. 
    Could you try to build your project using xdctools_3_51_03_28 under both CCS v10.x.y and v7.w.z?

    Baskar Rukmangadan said:
    We are able to build an example from the simplelink_cc13x0_sdk_3_20_00_23 product.


    Which CCS and XDCtools do you use to build your example? What is the name of this example?

    Could you address Todd's question: In short, can you give the history of the project?
    Even the first version of SimpleLink™ CC13x0 SDK 1.00.00.13 requires a newer XDCtools than the one used by you.

  • Baskar,

    In the CCS v7 setup, you were using 

    • TI-RTOS for CC13xx and CC26xx v2.20.00.06
    • XDCtools v3.32.00.06.

    This worked and is fine setup.

    In the CCS v10 setup, you are using

    • TI-RTOS for CC13xx and CC26xx v2.20.00.06
    • SimpleLink CC13x0 SDK v2.20.00.38
    • XDCtools v3.32.00.06.

    This is not a valid setup.

    The SimpleLink SDKs replaced the "TI-RTOS for <device>" products. Please remove the SimpleLink SDK and try to build again.

    Note: while similar, SimpleLink CC13x0 SDK is not backward compatible with the TI-RTOS for CC13xx and CC26xx SDK.

    Todd

  • Todd, 

    congratulations!

    Having a one year break in a SimpleLink development I have missed a separated TI-RTOS dev. path concepts for the different products. 
    That's pitty.

  • Hi ToddMullanix

    When I remove the SimpleLink CC13x0 SDK, the following error occurs. Can you please look into this. Do you have any guide to migrate this project to support the latest version?

    *** Build of configuration Debug for project HUB_RS232_Ver13_6 ***

    "C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k all

    Building file: "../rfExamples.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_31_00_24_core/xs" --xdcpath="C:/ti/ccs1000/ccs/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_15.12.1.LTS" --compileOptions "-mv7M3 --code_state=16 -me --abi=eabi " "../rfExamples.cfg"
    subdir_rules.mk:19: recipe for target 'build-1399477071-inproc' failed
    js: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.simplelink'. TI platforms are no longer shipped as part of XDCtools (C:\ti\xdctools_3_31_00_24_core). Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path 'C:/ti/ccs1000/ccs/ccs_base;C:\ti\xdctools_3_31_00_24_core/packages'. Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.
    gmake[1]: *** [build-1399477071-inproc] Error 1
    gmake: *** [build-1399477071] Error 2
    subdir_rules.mk:16: recipe for target 'build-1399477071' failed
    gmake: Target 'all' not remade because of errors.

    *** Build Finished ***

  • Hi Baskar,

    The "--xdcpath="C:/ti/ccs1000/ccs/ccs_base;" in the build log is wrong. Did you remove both "TI-RTOS for CC13xx and CC26xx" and SimpleLink SDK? The xdcpath should be something like this:

    --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages;"

    Todd

  • Hi ToddMullanix,

    As you said we removed only the SimpleLink SDK from the products. Still, it has some error please find the attached screenshot and build log.


    "C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k all

    Building file: "../rfExamples.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ccs1000/ccs/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_15.12.1.LTS" --compileOptions "-mv7M3 --code_state=16 -me --abi=eabi " "../rfExamples.cfg"
    subdir_rules.mk:19: recipe for target 'build-1399477071-inproc' failed
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.simplelink'. TI platforms are no longer shipped as part of XDCtools (C:\ti\xdctools_3_32_00_06_core). Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path 'C:/ti/ccs1000/ccs/ccs_base;C:\ti\xdctools_3_32_00_06_core/packages'. Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.
    gmake[1]: *** [build-1399477071-inproc] Error 1
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/linker.cmd'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: Target 'all' not remade because of errors.

    *** Build Finished ***

  • Hi Baskar,

    Something looks fishy here. There were some issues with project paths in CCS 10 (but this looks a bit different). Can you

    1. Install CCS 10.1
    2. Run CCS and have it discover and install TI-RTOS for CC13xx/CC26xx and XDCtools 3.32 (if it does not already know about it)
    3. Rrestart CCS
    4. Import the project.

    Make sure only the TI-RTOS for CC13xx/CC26xx (and XDCtools) is selected for the project and try building it.

    Todd

  • Hi Todd,

    As you said We have tried in the CCCS 10.1, still it has compilation error. please find the log below.

    *** Build of configuration Debug for project HUB_RS232_Ver13_6 ***

    "C:\\tiv1010\\ccs\\utils\\bin\\gmake" -k all

    Building file: "../rfExamples.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/tiv1010/ccs/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/tiv1010/ccs/tools/compiler/ti-cgt-arm_15.12.7.LTS" --compileOptions "-mv7M3 --code_state=16 -me --abi=eabi " "../rfExamples.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring rfExamples.xem3 from package/cfg/rfExamples_pem3.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios/sysbios.aem3 ...
    gmake[1]: Entering directory `C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    clem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/BIOS.c ...

    >> Compilation failure
    gmake[1]: Leaving directory `C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:19: recipe for target 'build-1399477071-inproc' failed
    "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"
    1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
    Compilation terminated.
    gmake[1]: *** [BIOS.obj] Error 1
    gmake: *** [C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios/sysbios.aem3] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/rfExamples_pem3.xdl'
    gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Deleting file `package/cfg/rfExamples_pem3.h'
    gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Deleting file `package/cfg/rfExamples_pem3.c'
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1399477071-inproc] Error 1
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/linker.cmd'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1399477071', needed by 'configPkg/compiler.opt'.
    gmake: Target 'all' not remade because of errors.

    *** Build Finished ***

  • Hi Baskar,

    Nothing is jumping out here. Can you enable the verbose mode for the XDCtools build in the Project Properties. Then rebuilld and attach the build output. Please copy/paste it into a file and attach that file.

    Todd

  • Hi Todd,

    Please find the log.


    **** Build of configuration Debug for project HUB_RS232_Ver13_6 ****

    "C:\\tiv1010\\ccs\\utils\\bin\\gmake" -k all

    making ../src/sysbios/sysbios.aem3 ...
    gmake[1]: Entering directory 'C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    clem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/BIOS.c ...

    >> Compilation failure
    makefile:57: recipe for target 'BIOS.obj' failed
    "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"
    1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
    Compilation terminated.
    gmake[1]: *** [BIOS.obj] Error 1
    asmem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
    asmem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
    asmem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
    asmem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
    gmake[1]: Leaving directory 'C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    ../src/makefile.libs:56: recipe for target '../src/sysbios/sysbios.aem3' failed
    gmake[1]: Target 'all' not remade because of errors.
    Building file: "../rfExamples.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/tiv1010/ccs/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/tiv1010/ccs/tools/compiler/ti-cgt-arm_15.12.7.LTS" --compileOptions "-mv7M3 --code_state=16 -me --abi=eabi " -v "../rfExamples.cfg"
    #
    # configuring rfExamples.xem3 from package/cfg/rfExamples_pem3.cfg ...
    C:/ti/xdctools_3_32_00_06_core/xs -Dxdc.path="C:/tiv1010/ccs/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;C:/ti/xdctools_3_32_00_06_core/packages;.." -Dxdc.root=C:/ti/xdctools_3_32_00_06_core -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/tiv1010/ccs/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;C:/ti/xdctools_3_32_00_06_core/packages;..;C:/ti/xdctools_3_32_00_06_core;C:/ti/xdctools_3_32_00_06_core/etc" -Dxdc.bld.targets="" -DTOOLS= xdc.cfg rfExamples.xem3 package/cfg/rfExamples_pem3.cfg package/cfg/rfExamples_pem3
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios/sysbios.aem3 ...
    gmake[1]: Entering directory `C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    clem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/BIOS.c ...

    >> Compilation failure
    gmake[1]: Leaving directory `C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:19: recipe for target 'build-1399477071-inproc' failed
    gmake: *** [../src/sysbios/sysbios.aem3] Error 2
    "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"
    1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
    Compilation terminated.
    gmake[1]: *** [BIOS.obj] Error 1
    gmake: *** [C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios/sysbios.aem3] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Error 1
    xdctools_3_32_00_06_core\gmake.exe: *** Deleting file `package/cfg/rfExamples_pem3.xdl'
    xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Deleting file `package/cfg/rfExamples_pem3.h'
    xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Deleting file `package/cfg/rfExamples_pem3.c'
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1399477071-inproc] Error 1
    gmake: *** [build-1399477071] Error 2
    subdir_rules.mk:16: recipe for target 'build-1399477071' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • It looks fine. Can you try enabling the verbose mode for the compile also (sorry, I should have ask for this along with the XDC verbose request)?

    Again change the setting and rebuild. Please attach the build log as a file instead of copy/paste to keep the thread short.

    Todd

  • Hi Todd, 

    Please find the log 

    **** Build of configuration Debug for project HUB_RS232_Ver13_6 ****
    
    "C:\\tiv1010\\ccs\\utils\\bin\\gmake" -k all 
     
    making ../src/sysbios/sysbios.aem3 ...
    gmake[1]: Entering directory 'C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    clem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/BIOS.c ...
     
    >> Compilation failure
    makefile:57: recipe for target 'BIOS.obj' failed
    "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"
    1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
    Compilation terminated.
    gmake[1]: *** [BIOS.obj] Error 1
    gmake[1]: Target 'all' not remade because of errors.
    gmake: *** [../src/sysbios/sysbios.aem3] Error 2
    gmake[1]: Leaving directory 'C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    ../src/makefile.libs:56: recipe for target '../src/sysbios/sysbios.aem3' failed
    Building file: "../rfExamples.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/tiv1010/ccs/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/tiv1010/ccs/tools/compiler/ti-cgt-arm_15.12.7.LTS" --compileOptions "-mv7M3 --code_state=16 -me --verbose_diagnostics --abi=eabi  " -v "../rfExamples.cfg"
    #
    # making package.mak (because of config.bld) ...
    C:/ti/xdctools_3_32_00_06_core/xs  -Dxdc.path="C:/tiv1010/ccs/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;C:/ti/xdctools_3_32_00_06_core/packages;.." -Dxdc.root=C:/ti/xdctools_3_32_00_06_core -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/tiv1010/ccs/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;C:/ti/xdctools_3_32_00_06_core/packages;..;C:/ti/xdctools_3_32_00_06_core;C:/ti/xdctools_3_32_00_06_core/etc" -Dxdc.bld.targets="" -DTOOLS=   -f C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/bld.js ./config.bld package.bld package.mak 
    #
    # configuring rfExamples.xem3 from package/cfg/rfExamples_pem3.cfg ...
    C:/ti/xdctools_3_32_00_06_core/xs -Dxdc.path="C:/tiv1010/ccs/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;C:/ti/xdctools_3_32_00_06_core/packages;.." -Dxdc.root=C:/ti/xdctools_3_32_00_06_core -Dxdc.hostOS=Windows -Dconfig.importPath=".;C:/tiv1010/ccs/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;C:/ti/xdctools_3_32_00_06_core/packages;..;C:/ti/xdctools_3_32_00_06_core;C:/ti/xdctools_3_32_00_06_core/etc" -Dxdc.bld.targets="" -DTOOLS=   xdc.cfg rfExamples.xem3 package/cfg/rfExamples_pem3.cfg package/cfg/rfExamples_pem3
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios/sysbios.aem3 ...
    gmake[1]: Entering directory `C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    clem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/BIOS.c ...
     
    >> Compilation failure
    gmake[1]: Leaving directory `C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:19: recipe for target 'build-1399477071-inproc' failed
    "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"
    1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
    Compilation terminated.
    gmake[1]: *** [BIOS.obj] Error 1
    gmake: *** [C:/Users/MavinApps/workspace_v1010/HUB_RS232_Ver13_6/src/sysbios/sysbios.aem3] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
     
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/rfExamples_pem3.xdl'
    gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Deleting file `package/cfg/rfExamples_pem3.h'
    gmake.exe: *** [package/cfg/rfExamples_pem3.xdl] Deleting file `package/cfg/rfExamples_pem3.c'
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1399477071-inproc] Error 1
    gmake: *** [build-1399477071] Error 2
    subdir_rules.mk:16: recipe for target 'build-1399477071' failed
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • Hi Baskar,

    Can you confirm there is a tirtos_cc13xx_cc26xx_2_20_00_06\products\cc13xxware_2_04_02_17240 directory. Additionally there is a "driverlib/sys_ctrl.h" file present in this directory.

    Todd

  • Hi Todd,

    yes, we have the cc13xxware_2_04_02_17240 directory and "driverlib/sys_ctrl.h" in this directory . Please find the screenshot below,

  • Baskar,

    Sorry for the slow response. I'm not really sure what's going on here. Can you export the project and post it? If you cannot, I can send you a friend request and we can do it off-line.

    Todd