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.

Compiler/TM4C129ENCPDT: Getting compilation errors which I could not identify

Part Number: TM4C129ENCPDT
Other Parts Discussed in Thread: SYSBIOS, CC3100SDK

Tool/software: TI C/C++ Compiler

Hi All,

I am using ti rtos 2.16..01.14 and xdc tool version is 3.32.0.06. My code composer studio version is 9.3 and the compiler I am using is TI v5.2.5.

I am getting the following errors while compiling -

Description	Resource	Path	Location	Type
gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/compiler.opt'.	petromo-tgt-cell		 	C/C++ Problem
gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/linker.cmd'.	petromo-tgt-cell		 	C/C++ Problem
gmake: Target 'all' not remade because of errors.	petromo-tgt-cell		 	C/C++ Problem
gmake[1]: *** [build-1995042159-inproc] Error 1	petromo-tgt-cell		 	C/C++ Problem

These are the build logs -

**** Build of configuration Debug for project petromo-tgt-cell ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k all 
 
Building file: "../gluon-firmware.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/ccs930/ccs/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129ENCPDT -r release -c "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_5.2.5" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path=\"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_5.2.5/include\" --include_path=\"C:/wolfssl\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/nettools/inc\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/timers/gptimer\" --include_path=\"C:/ti/xdctools_3_32_00_06_core/packages/xdc\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/utils\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/pmoCommands\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/obdTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/httpTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/cmdReceiveTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/histDataTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/cmdProcTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/softLoader\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/serverTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/usbCdc\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages/ti/mw\" --include_path=\"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_5.2.5/include\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink/include\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink/source\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink_extlib/include\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink_extlib/provisioninglib\" -g --gcc --define=ccs=\"ccs\" --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --define=NET_NDK --define=WOLFSSL_TIRTOS --define=GLU_3G --define=GLU_PMO --define=TIVA_2_16_01_14 --define=PART_TM4C129ENCPDT --define=TI_EXAMPLES_PPP --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on  " "../gluon-firmware.cfg"
subdir_rules.mk:19: recipe for target 'build-1995042159-inproc' failed
because: Exec format error
C:\ti\xdctools_3_32_00_06_core\xdc.exe: can't execute 'C:/ti/xdctools_3_32_00_06_core\gmake.exe' 
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 = -1); 'linker.cmd' deleted.
gmake[1]: *** [build-1995042159-inproc] Error 1
gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors. **** Build Finished ****

I don't what wrong I did. Everything is set properly. 

I tried with compiler TI v18.12.5 and getting the same errors.

Let me know.

Thanks,

Akhi

  • Hi Akhi,

    I expect you have another shell in your path or the '-' in the name is the issue. Take a look at the "Building" FAQ on this page for more details: https://e2e.ti.com/support/processors/f/791/t/840835

    Todd

  • Hi Todd,

    That's not the issue. All other projects have the same type of names. 

    Actually what happened is- why I built this project, the gmake.exe file from xdctools folder got corrupted and it deleted all the content of that file. Because of which, my other projects also giving the same error. I don't know why is it happening?

    If you see this line from build logs -

    C:\ti\xdctools_3_32_00_06_core\xdc.exe: can't execute 'C:/ti/xdctools_3_32_00_06_core\gmake.exe'

    It means the gmake.exe file has nothing inside it. Its size was zero after compiling the project. How can this be possible? My teammate who is having CCS v6 and everything works fine for him, the same project nothing changes. 

    Do you have any idea?

    Thanks,

    Akhi

  • Akhi,
    are you saying that gmake.exe got deleted while you were building a project? Is gmake.exe still there and what is its size?
    Can you reinstall XDCtools 3.32.00.06 from here and try again - http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_32_00_06/index_FDS.html

    Try building a project and check gmake.exe afterwards. If it gets corrupted again, please post the content of the console output. 

  • Hi Sasha,

    Actually, gmake.exe did not get delete but its content. The file was empty. Other projects were working fine. Somethings happened with this. I have tried CCS9 versions and all these are very unstable. I have to move back to ccs6 in order to develop. 

    I have already posted the content of the console output-

    **** Build of configuration Debug for project petromo-tgt-cell ****
    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k all
     
    Building file: "../gluon-firmware.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/ccs930/ccs/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129ENCPDT -r release -c "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_5.2.5" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path=\"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_5.2.5/include\" --include_path=\"C:/wolfssl\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/nettools/inc\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/timers/gptimer\" --include_path=\"C:/ti/xdctools_3_32_00_06_core/packages/xdc\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/utils\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/pmoCommands\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/obdTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/httpTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/cmdReceiveTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/histDataTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/cmdProcTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/softLoader\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/serverTask\" --include_path=\"C:/Users/akhig/OldWorkspace/petromo-tgt-cell/modules/usbCdc\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages/ti/mw\" --include_path=\"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_5.2.5/include\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink/include\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink/source\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink_extlib/include\" --include_path=\"C:/ti/CC3100SDK_1.2.0/cc3100-sdk/simplelink_extlib/provisioninglib\" -g --gcc --define=ccs=\"ccs\" --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS --define=NET_NDK --define=WOLFSSL_TIRTOS --define=GLU_3G --define=GLU_PMO --define=TIVA_2_16_01_14 --define=PART_TM4C129ENCPDT --define=TI_EXAMPLES_PPP --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on  " "../gluon-firmware.cfg"
    subdir_rules.mk:19: recipe for target 'build-1995042159-inproc' failed
    because: Exec format error
    C:\ti\xdctools_3_32_00_06_core\xdc.exe: can't execute 'C:/ti/xdctools_3_32_00_06_core\gmake.exe'
    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 = -1); 'linker.cmd' deleted.
    gmake[1]: *** [build-1995042159-inproc] Error 1
    gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/linker.cmd'.
    gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/compiler.opt'.
    1
    gmake: *** No rule to make target 'build-1995042159', needed by 'configPkg/compiler.opt'.
    1
    gmake: Target 'all' not remade because of errors. **** Build Finished ****
  • Akhi,
    I was asking for the console output after you reinstall XDCtools and try using it for the first time. I am assuming gmake.exe wasn't empty after the installation, but became an empty file at some time later.

    Instead of reinstallation, you could also just copy gmake from C:/ti/cc930/ccs/utils/bin and try rebuilding the project. Watch the size of gmake.exe between the steps to see when it becomes an empty file.