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.

XDC tools error when compiling ti_rtos_config

Other Parts Discussed in Thread: CC3200

Hello All,

I am currently working on CC3200 evaluation board and compiling the CC3200 SDK by following this link.

I am following those steps one by one given in video link and now it turns to compile ti_rtos_config. Here I am getting compile time error like xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2. I have attached compile log file in this post.

xdc_compile_error_log.txt
**** Build of configuration Default for project ti_rtos_config ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
'Building target: configPkg/linker.cmd'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ccsv6/ccs_base;C:/ti/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages;C:/ti/tirtos_simplelink_2_13_00_06/packages;C:/ti/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages;C:/ti/tirtos_simplelink_2_13_00_06/products/uia_2_00_02_39/packages;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC3200 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS"  C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/app.cfg 
configuring app.xem4 from package/cfg/app_pem4.cfg ...
generating custom ti.sysbios library makefile ... 
Starting build of library sources ...
making C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4 ...
gmake[1]: Entering directory `C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
clem4 C:/ti/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages/ti/sysbios/BIOS.c ...
gmake[1]: Leaving directory `C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
Build of libraries failed.
makefile:40: recipe for target 'configPkg/linker.cmd' failed
      0 [main] sh 115584 sync_with_child: child 124340(0x1DC) died before initialization with status code 0xC0000142
     27 [main] sh 115584 sync_with_child: *** child state waiting for longjmp
C:/Users/Binal/AppData/Local/Temp/make123044-1.sh: fork: Resource temporarily unavailable
gmake[1]: *** [BIOS.obj] Error 128
gmake: *** [C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4] 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/app_pem4.xdl] Error 1
xdctools_3_32_00_06_core\gmake.exe: *** Deleting file `package/cfg/app_pem4.xdl'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.h'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.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: *** [configPkg/linker.cmd] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Below are the configuration and versions of CC3200 SDK.

1) System: Windows 10

2) CCS version: 6.1.3

3) CC3200 SDK version: 1.2.0

4) XDC Tools Version: 3_32_00_06_core

5) TI Compiler: 15.12.1.LTS. Also tried with version 5.2.6

I have also gone through all posts regarding this type of error and found that it may be due to some white spaces in workspace path or in tools installation path. I checked all these things from my side and there is no any white spaces in any paths.

It would be greatly appreciated if I can get any solution/suggestion. Please let me know if you need any information from my side.

Thanks,

Nipam

  • Hello Nipam,

    Nipam Bhavsar said:
    I have also gone through all posts regarding this type of error and found that it may be due to some white spaces in workspace path or in tools installation path. I checked all these things from my side and there is no any white spaces in any paths.

    Yes, that is usually the first culprit. What is indeed your workspace path?

    In your package path, I see: tirtos_simplelink_2_13_00_06, in addition to tirtos_cc32xx_2_16_01_14. You should not need the former.

    Can you DISABLE tirtos_simplelink_2_13_00_06 from your project?

    Thanks

    ki

  • Dear Ki-Soo Lee,

    Thanks for your kind response.

    My workspace path is: P:\TI_Workspace\CC3200_Project

    I have disabled tirtos_simplelink_2_13_00_06 from my project but still I found the same error. I have attached compilation log here(CC3200_compile_error_log.txt) also attached screenshot.

    CC3200_compile_error_log.txt
    **** Build of configuration Default for project ti_rtos_config ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building target: configPkg/linker.cmd'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ccsv6/ccs_base;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC3200 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS"  C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/app.cfg 
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring app.xem4 from package/cfg/app_pem4.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4 ...
    gmake[1]: Entering directory `C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
    clem4 C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c ...
    gmake[1]: Leaving directory `C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
    Build of libraries failed.
    makefile:40: recipe for target 'configPkg/linker.cmd' failed
          0 [main] sh 3204 sync_with_child: child 18540(0x1F4) died before initialization with status code 0xC0000142
         44 [main] sh 3204 sync_with_child: *** child state waiting for longjmp
    C:/Users/Binal/AppData/Local/Temp/make19388-1.sh: fork: Resource temporarily unavailable
    gmake[1]: *** [BIOS.obj] Error 128
    gmake: *** [C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4] 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/app_pem4.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/app_pem4.xdl'
    gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.h'
    gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.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: *** [configPkg/linker.cmd] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

    Is there any problem with CCS version(6.1.3) or TI compiler version(15.12.1.LTS)?

    Please let me know if you need any information from my side.

    Thanks,

    Nipam

  • Nipam Bhavsar said:
    My workspace path is: P:\TI_Workspace\CC3200_Project

    Is the folder name "CC3200 Project", with a whitespace?

    Thanks

    ki

  • Dear Ki-Soo Lee,

    There is no any white space in workspace path. That is underscore sign("_") in between CC3200 and Project text. Is there any problem with underscore sign? I will try to compile again by removing that underscore sign and will update you.

    Thanks,

    Nipam 

  • Dear Ki-Soo Lee,

    I tried to compile ti_rtos_config project by removing underscore sign but the same thing happens, same compile time error. I have attached compile time error Log here. Kindly guide me to resolve this error.

    compile_error_removing_underscore_sign.txt
    **** Build of configuration Default for project ti_rtos_config ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building target: configPkg/linker.cmd'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ccsv6/ccs_base;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC3200 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS"  C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/app.cfg 
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring app.xem4 from package/cfg/app_pem4.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4 ...
    gmake[1]: Entering directory `C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
    clem4 C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c ...
    gmake[1]: Leaving directory `C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
    Build of libraries failed.
    makefile:40: recipe for target 'configPkg/linker.cmd' failed
          0 [main] sh 17932 sync_with_child: child 8996(0x1E8) died before initialization with status code 0xC0000142
         24 [main] sh 17932 sync_with_child: *** child state waiting for longjmp
    C:/Users/Binal/AppData/Local/Temp/make15408-1.sh: fork: Resource temporarily unavailable
    gmake[1]: *** [BIOS.obj] Error 128
    gmake: *** [C:/ti/CC3200SDK_1.2.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4] 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/app_pem4.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/app_pem4.xdl'
    gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.h'
    gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.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: *** [configPkg/linker.cmd] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

    Thanks,

    Nipam

  • Nipam,

    In addition to whitespaces in the workspace or tools installation paths, another reason this error could occur is if you have other toolchains in your Windows system PATH that have a gmake or sh that conflict with CCS. 

    Please see this wiki for details and check if that could be the case in your system.

  • Dear AartiG,

    Thanks for your kind response.

    I have tried also regarding system PATH and found another make.exe file in PATH, so I removed this from PATH and again tried to compile ti_rtos_config project but found the same error while compiling.

    I tried all things and now only one option was remaining that I needed to check - Re-install CCS 6.1.3 and after re-installing CCS what I saw that it compiles successfully. I didn't do any changes in my laptop environment, just uninstall and again install CCS 6.1.3. I don't know how this is done but I feel yippee, compiled successfully.

    Thanks to Ki-Soo Lee and AartiG for your valuable time to see my post and share your suggestions. Appreciated!!!

    Thanks,

    Nipam