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.
I have installed the SDK and CCS afresh. I use the resource explorer to import "rfPacketRX". When I try to "clean" the project, I get a pop-up which says that rm.exe could not launch correctly.
If I proceed with a "rebuild" of the project, I get the output below. It seems sh.exe is failing.
Which rm.exe and sh.exe should be called, and how can I ensure that the correct versions are being used?
But maybe there is something else causing this?
BTW, when I did the same thing using OSX, it worked fine. But I need this to work under Windows.
Build output:
**** Clean-only build of configuration Debug for project tirtos_builds_CC1310_LAUNCHXL_release_ccs ****
"C:\\ti\\ccs1250\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O
DEL /F "tirtos_builds_CC1310_LAUNCHXL_release_ccs.lib" "configPkg\linker.cmd" "configPkg\compiler.opt"
RMDIR /S/Q "configPkg\"
Could Not Find C:\Users\markuswallgren\workspace_markus\tirtos_builds_CC1310_LAUNCHXL_release_ccs\Debug\tirtos_builds_CC1310_LAUNCHXL_release_ccs.lib
Could Not Find C:\Users\markuswallgren\workspace_markus\tirtos_builds_CC1310_LAUNCHXL_release_ccs\Debug\configPkg\linker.cmd
Finished clean
**** Build Finished ****
**** Build of configuration Debug for project tirtos_builds_CC1310_LAUNCHXL_release_ccs ****
"C:\\ti\\ccs1250\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
Building file: "../release.cfg"
Invoking: XDCtools
"C:/ti/ccs1250/xdctools_3_62_01_16_core/xs" --xdcpath="C:/ti/simplelink_cc13x0_sdk_4_20_02_07/source;C:/ti/simplelink_cc13x0_sdk_4_20_02_07/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" --compileOptions " -DDeviceFamily_CC13X0 " "../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/markuswallgren/workspace_markus/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...
clem3 C:/ti/simplelink_cc13x0_sdk_4_20_02_07/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-1317695535-inproc' failed
0 [main] sh.exe" 372 sync_with_child: child 7084(0x244) died before initialization with status code 0xC0000142
34 [main] sh.exe" 372 sync_with_child: *** child state waiting for longjmp
C:/Users/MARKUS~1/AppData/Local/Temp/make2932-3.sh: fork: Resource temporarily unavailable
gmake[1]: *** [makefile:61: rom_sysbios.obj] Error 128
gmake: *** [C:/Users/markuswallgren/workspace_markus/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/makefile.libs:57: C:/Users/markuswallgren/workspace_markus/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/ccs1250/xdctools_3_62_01_16_core/packages/xdc/cfg/SourceDir.xs", line 211: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/ccs1250/xdctools_3_62_01_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/ccs1250/xdctools_3_62_01_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-1317695535-inproc] Error 1
Building file: "../release.cfg"
Invoking: XDCtools
"C:/ti/ccs1250/xdctools_3_62_01_16_core/xs" --xdcpath="C:/ti/simplelink_cc13x0_sdk_4_20_02_07/source;C:/ti/simplelink_cc13x0_sdk_4_20_02_07/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" --compileOptions " -DDeviceFamily_CC13X0 " "../release.cfg"
configuring release.xem3 from package/cfg/release_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/Users/markuswallgren/workspace_markus/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...
clem3 C:/ti/simplelink_cc13x0_sdk_4_20_02_07/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-1317695535-inproc' failed
0 [main] sh.exe" 4444 sync_with_child: child 5300(0x248) died before initialization with status code 0xC0000142
46 [main] sh.exe" 4444 sync_with_child: *** child state waiting for longjmp
C:/Users/MARKUS~1/AppData/Local/Temp/make2808-3.sh: fork: Resource temporarily unavailable
gmake[1]: *** [makefile:61: rom_sysbios.obj] Error 128
gmake: *** [C:/Users/markuswallgren/workspace_markus/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/makefile.libs:57: C:/Users/markuswallgren/workspace_markus/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/ccs1250/xdctools_3_62_01_16_core/packages/xdc/cfg/SourceDir.xs", line 211: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/ccs1250/xdctools_3_62_01_16_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_62_01_16_core\gmake.exe: *** [package.mak:202: package/cfg/release_pem3.xdl] Error 1
xdctools_3_62_01_16_core\gmake.exe: *** Deleting file 'package/cfg/release_pem3.xdl'
xdctools_3_62_01_16_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.h'
xdctools_3_62_01_16_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.c'
js: "C:/ti/ccs1250/xdctools_3_62_01_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-1317695535-inproc] Error 1
subdir_rules.mk:9: recipe for target 'build-1317695535' failed
gmake[1]: *** [build-1317695535] Error 2
makefile:127: recipe for target 'all' failed
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
gmake: *** [all] Error 2
**** Build Finished ****
Hi Markus,
I just built the rfPacketTX from SDK 4_20_02_07 on CCS 12.5.
I was able to build without issues on Windows 10.
I will assign this thread to the Tools team, seems like the error is generated from XDC tools.
Regards,
Sid
Hi Markus,
Are there any whitespaces in the path of your install directories (of SDK install path, CCS or your workspace).
It seems that could cause issues like yours.
Regards,
Sid
No, I don't think so. I have checked and double-checked that.
Could it be Win 11 vs Win 10?
It is possible, but very unlikely. I do not have a way to test on Windows 11.
In your discovered products[Window->Preferences->Code Composer Studio->Products] on CCS, does XDCtools show up?
Here is another thread I found which could be relevant.
OK, it is working now. I had already removed one directory from my PATH with a different sh.exe. But I had missed another such directory.
Using the DOS command
where /r c:\ sh.exe
to find all the copies of sh.exe, I found another instance which was in my PATH. Removing that directory from my PATH fixed the problem.
Thanks so much for the quick help!