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.

EK-TM4C1294XL: CCS 10.3.1.0003 can't compile TI-RTOS tcpEcho_EK_TM4C1294XL_TI

Part Number: EK-TM4C1294XL
Other Parts Discussed in Thread: SYSBIOS, TM4C1294NCPDT

I got a numbers of errors when compile TI-Rtos example tcpEcho_EK_TM4C1294XL_TI.   

CCS 10.3.1.00003


**** Build of configuration Debug for project tcpEcho_EK_TM4C1294XL_TI ****

"C:\\ti\\ccs1031\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

making ../src/sysbios/sysbios.aem4f ...
Building file: "../tcpEcho.cfg"
Invoking: XDCtools
"C:/TIfromhome/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_00_08/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ns_1_11_00_10/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r release -c "C:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"C:/mySpace/tcpEcho_EK_TM4C1294XL_TI\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd\" --include_path=\"C:/mySpace/tcpEcho_EK_TM4C1294XL_TI\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix\" --include_path=\"C:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include\" --define=ccs=\"ccs\" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../tcpEcho.cfg"
gmake[1]: Entering directory 'C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ...
makefile:57: recipe for target 'BIOS.obj' failed
/bin/sh: -c: line 23: syntax error: unexpected end of file
gmake[1]: *** [BIOS.obj] Error 258
gmake[1]: Leaving directory 'C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios'
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
gmake[1]: Entering directory 'C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios'
asmem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
makefile:40: recipe for target 'm3_Hwi_asm.obj' failed
gmake[1]: *** [m3_Hwi_asm.obj] Error -1073741502
gmake[1]: Target 'all' not remade because of errors.
gmake[1]: Leaving directory 'C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios'
../src/makefile.libs:56: recipe for target '../src/sysbios/sysbios.aem4f' failed
gmake: *** [../src/sysbios/sysbios.aem4f] Error 2
configuring tcpEcho.xem4f from package/cfg/tcpEcho_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ...
gmake[1]: Leaving directory `C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios'
Build of libraries failed.
subdir_rules.mk:19: recipe for target 'build-784193775-inproc' failed
0 [main] sh 22316 sync_with_child: child 19896(0x240) died before initialization with status code 0xC0000142
13 [main] sh 22316 sync_with_child: *** child state waiting for longjmp
C:/temp/make22268-1.sh: fork: Resource temporarily unavailable
gmake[1]: *** [BIOS.obj] Error 128
gmake: *** [C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios/sysbios.aem4f] Error 2
error: xdc.cfg.SourceDir: "C:/TIfromhome/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:/TIfromhome/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/tcpEcho_pem4f.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/tcpEcho_pem4f.xdl'
gmake.exe: *** [package/cfg/tcpEcho_pem4f.xdl] Deleting file `package/cfg/tcpEcho_pem4f.h'
gmake.exe: *** [package/cfg/tcpEcho_pem4f.xdl] Deleting file `package/cfg/tcpEcho_pem4f.c'
js: "C:/TIfromhome/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-784193775-inproc] Error 1
gmake: *** [build-784193775] Error 2
subdir_rules.mk:16: recipe for target 'build-784193775' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Hi,

      How did you create the example? Did you "import" the example? Can you try again from CCS TI Resource Explorer?

      1. First delete the existing example. 

      2. Go to Resource Explore. See below

      3. Go to the example and click on the "Import" at the upper right. You must do import and never copy files from somewhere. 

    4. Once the example is imported to the CCS workspace, you just build it. I just tried it myself and I have no problem building it. 

  • I followed the procedure and still have errors


    **** Build of configuration Debug for project tcpEcho_EK_TM4C1294XL_TI ****

    "C:\\ti\\ccs1031\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../tcpEcho.cfg"
    Invoking: XDCtools
    "C:/TIfromhome/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_00_08/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ns_1_11_00_10/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r release -c "C:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"C:/mySpace/tcpEcho_EK_TM4C1294XL_TI\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd\" --include_path=\"C:/mySpace/tcpEcho_EK_TM4C1294XL_TI\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix\" --include_path=\"C:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include\" --define=ccs=\"ccs\" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../tcpEcho.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring tcpEcho.xem4f from package/cfg/tcpEcho_pem4f.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios'
    clem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ...
    gmake[1]: Leaving directory `C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:19: recipe for target 'build-784193775-inproc' failed
    0 [main] sh 20008 sync_with_child: child 27120(0x240) died before initialization with status code 0xC0000142
    16 [main] sh 20008 sync_with_child: *** child state waiting for longjmp
    C:/temp/make268-1.sh: fork: Resource temporarily unavailable
    gmake[1]: *** [BIOS.obj] Error 128
    gmake: *** [C:/mySpace/tcpEcho_EK_TM4C1294XL_TI/src/sysbios/sysbios.aem4f] Error 2
    error: xdc.cfg.SourceDir: "C:/TIfromhome/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:/TIfromhome/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/tcpEcho_pem4f.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/tcpEcho_pem4f.xdl'
    gmake.exe: *** [package/cfg/tcpEcho_pem4f.xdl] Deleting file `package/cfg/tcpEcho_pem4f.h'
    gmake.exe: *** [package/cfg/tcpEcho_pem4f.xdl] Deleting file `package/cfg/tcpEcho_pem4f.c'
    js: "C:/TIfromhome/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-784193775-inproc] Error 1
    gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/linker.cmd'.
    gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • I don't have WinAVR installed

  • It doesn't have to be WinAVR.  It can be another tool that includes a shell (sh).

    John

  • Here is my path.  what should i remove?

    C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\;C:\Program Files (x86)\Common Files\Acronis\FileProtector\;C:\Program Files (x86)\Common Files\Acronis\FileProtector64\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\ti\xdctools_3_32_00_06_core\jre;C:\Program Files\PuTTY\;C:\Program Files\TortoiseGit\bin;C:\Program Files\Git\cmd;C:\Users\chi.pham\AppData\Roaming\Python\Python38\Scripts;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\chi.pham\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\chi.pham\AppData\Local\Programs\Python\Python38-32\;c:\vslick\win;C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools;C:\Users\chi.pham\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\QSI Corporation\Qlarity Foundry 2.63;C:\Users\chi.pham\.dotnet\tools;

  • Python was mentioned on a couple of those other threads so I would start with that

  • Yes.  I removed al python and reboot the PC.   It works.  Thank you so much