Tool/software: Code Composer Studio
Hi The example project "tirtos_builds_CC2640R2_LAUNCHXL_release_ccs" meet the problem during the build.
I noticed that the "$<" missed in this command below, but instructions in troubleshoot didn't tell me how to add the "../filename.cfg" at the end of "${command} ${flags} ${inputs}" in Project Properties.
"C:/ti/xdctools_3_61_00_16_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source;C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS" --compileOptions " -DDeviceFamily_CC26X0R2 " "../release.cfg"
I didn't see any whitespace in my directory
Below is the history in console:
Building file: "../release.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_61_00_16_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source;C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS" --compileOptions " -DDeviceFamily_CC26X0R2 " "../release.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring release.xem3 from package/cfg/release_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...
clem3 C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-1046842913-inproc' failed
0 [main] sh 612 sync_with_child: child 252(0x21C) died before initialization with status code 0xC0000142
19 [main] sh 612 sync_with_child: *** child state waiting for longjmp
C:/Users/siyan/AppData/Local/Temp/make4644-3.sh: fork: Resource temporarily unavailable
gmake[1]: *** [makefile:61: rom_sysbios.obj] Error 128
gmake: *** [C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/makefile.libs:57: C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_61_00_16_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_61_00_16_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package.mak:202: package/cfg/release_pem3.xdl] Error 1
gmake.exe: *** Deleting file 'package/cfg/release_pem3.xdl'
gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.h'
gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.c'
js: "C:/ti/xdctools_3_61_00_16_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1046842913-inproc] Error 1
Building file: "../release.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_61_00_16_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source;C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS" --compileOptions " -DDeviceFamily_CC26X0R2 " "../release.cfg"
configuring release.xem3 from package/cfg/release_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...
clem3 C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-1046842913-inproc' failed
0 [main] sh 14416 sync_with_child: child 2456(0x214) died before initialization with status code 0xC0000142
18 [main] sh 14416 sync_with_child: *** child state waiting for longjmp
C:/Users/siyan/AppData/Local/Temp/make2032-3.sh: fork: Resource temporarily unavailable
gmake[1]: *** [makefile:61: rom_sysbios.obj] Error 128
gmake: *** [C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/makefile.libs:57: C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_61_00_16_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_61_00_16_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_61_00_16_core\gmake.exe: *** [package.mak:202: package/cfg/release_pem3.xdl] Error 1
xdctools_3_61_00_16_core\gmake.exe: *** Deleting file 'package/cfg/release_pem3.xdl'
xdctools_3_61_00_16_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.h'
xdctools_3_61_00_16_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.c'
js: "C:/ti/xdctools_3_61_00_16_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[2]: *** [build-1046842913-inproc] Error 1
gmake[1]: *** [build-1046842913] Error 2
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
subdir_rules.mk:9: recipe for target 'build-1046842913' failed
makefile:127: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
Building file: "../release.cfg"Invoking: XDCtools"C:/ti/xdctools_3_61_00_16_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source;C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS" --compileOptions " -DDeviceFamily_CC26X0R2 " "../release.cfg"making package.mak (because of package.bld) ...generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...configuring release.xem3 from package/cfg/release_pem3.cfg ...generating custom ROM library makefile ... Starting build of library sources ...making C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...clem3 C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages/ti/sysbios/BIOS.c ...Build of libraries failed.subdir_rules.mk:12: recipe for target 'build-1046842913-inproc' failed 0 [main] sh 612 sync_with_child: child 252(0x21C) died before initialization with status code 0xC0000142 19 [main] sh 612 sync_with_child: *** child state waiting for longjmpC:/Users/siyan/AppData/Local/Temp/make4644-3.sh: fork: Resource temporarily unavailablegmake[1]: *** [makefile:61: rom_sysbios.obj] Error 128gmake: *** [C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/makefile.libs:57: C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_61_00_16_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_61_00_16_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!gmake.exe: *** [package.mak:202: package/cfg/release_pem3.xdl] Error 1gmake.exe: *** Deleting file 'package/cfg/release_pem3.xdl'gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.h'gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.c'js: "C:/ti/xdctools_3_61_00_16_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.gmake[1]: *** [build-1046842913-inproc] Error 1Building file: "../release.cfg"Invoking: XDCtools"C:/ti/xdctools_3_61_00_16_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source;C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS" --compileOptions " -DDeviceFamily_CC26X0R2 " "../release.cfg"configuring release.xem3 from package/cfg/release_pem3.cfg ...generating custom ROM library makefile ... Starting build of library sources ...making C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...clem3 C:/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages/ti/sysbios/BIOS.c ...Build of libraries failed.subdir_rules.mk:12: recipe for target 'build-1046842913-inproc' failed 0 [main] sh 14416 sync_with_child: child 2456(0x214) died before initialization with status code 0xC0000142 18 [main] sh 14416 sync_with_child: *** child state waiting for longjmpC:/Users/siyan/AppData/Local/Temp/make2032-3.sh: fork: Resource temporarily unavailablegmake[1]: *** [makefile:61: rom_sysbios.obj] Error 128gmake: *** [C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/makefile.libs:57: C:/Users/siyan/workspacev20/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_61_00_16_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_61_00_16_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!xdctools_3_61_00_16_core\gmake.exe: *** [package.mak:202: package/cfg/release_pem3.xdl] Error 1xdctools_3_61_00_16_core\gmake.exe: *** Deleting file 'package/cfg/release_pem3.xdl'xdctools_3_61_00_16_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.h'xdctools_3_61_00_16_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.c'js: "C:/ti/xdctools_3_61_00_16_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.gmake[2]: *** [build-1046842913-inproc] Error 1gmake[1]: *** [build-1046842913] Error 2gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.subdir_rules.mk:9: recipe for target 'build-1046842913' failedmakefile:127: recipe for target 'all' failedgmake: *** [all] Error 2
**** Build Finished ****