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.

Troubles building the samples for DK-TM4C129X : gmake : error 3

Other Parts Discussed in Thread: TM4C129XNCZAD, SYSBIOS

Troubles building the samples for DK-TM4C129X : gmake : error 3


 

I just received the DK-TM4C129X eval board and installed:

* CCSV5.5

* TIRTOS_1_20_00_28

* XDCTOOLS_3_25_04_88

using the TI resource explorer i did the suggested steps 1,2.3 ... to import some of the provided samples und to build and execute them.

as a example: after importing "uartlogging_TivaTM4C129XNCZAD" and trying to build it i get the following errors:

**** Build of configuration Debug for project uartlogging_TivaTM4C129XNCZAD ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../uartlogging.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_25_04_88/xs" --xdcpath="C:/ti/tirtos_1_20_00_28/packages;C:/ti/tirtos_1_20_00_28/products/bios_6_37_00_20/packages;C:/ti/tirtos_1_20_00_28/products/ipc_3_10_01_11/packages;C:/ti/tirtos_1_20_00_28/products/ndk_2_23_00_00/packages;C:/ti/tirtos_1_20_00_28/products/uia_1_04_00_06/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129XNCZAD -r release -c "C:/ti/ccsv5/tools/compiler/arm_5.1.1" "../uartlogging.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring uartlogging.xem4f from package/cfg/uartlogging_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/src/sysbios.aem4f ...
gmake[1]: Entering directory `C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/src/sysbios'
clem4f C:/ti/tirtos_1_20_00_28/products/bios_6_37_00_20/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/tirtos_1_20_00_28/products/bios_6_37_00_20/packages/ti/sysbios/family/arm/m3/Clobber_asm.sv7M ...
gmake[1]: *** [m3_Clobber_asm.obj] Error 3
gmake[1]: Leaving directory `C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/src/sysbios'
gmake: *** [C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/src/sysbios.aem4f] Error 2
Build of libraries failed.
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/SourceDir.xs", line 184: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

js: "C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/Main.xs", line 153: Error: Configuration failed!
gmake.exe: *** [package/cfg/uartlogging_pem4f.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/uartlogging_pem4f.xdl'
gmake.exe: *** [package/cfg/uartlogging_pem4f.xdl] Deleting file `package/cfg/uartlogging_pem4f.h'
gmake.exe: *** [package/cfg/uartlogging_pem4f.xdl] Deleting file `package/cfg/uartlogging_pem4f.c'
js: "C:/ti/xdctools_3_25_04_88/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 ****

these error messages read similar when i try to build some other sample.

it seems that the system fails to build C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/src/sysbios.aem4f

when i move into that directory and issue "gmake" there manually it generates the first not already geenerated .obj file but writes an error message:

gmake: *** [m3_IntrinsicsSupport_asm.obj] Error 3

when i call gmake again it builds the next object.

after manually building ALL of the objects in the makefile finally the library "sysbios.aem4f" gets generated WITHOUT an error !

after that, when it call "Build" again on this project it get the foloowing errors:

 

**** Build of configuration Debug for project uartlogging_TivaTM4C129XNCZAD ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../DK_TM4C129X.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --include_path="C:/ti/tirtos_1_20_00_28/products/TivaWare_C_Series-2.0b" -g --gcc --define=PART_TM4C129XNCZAD --define=ccs --define=TIVAWARE --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="DK_TM4C129X.pp" --cmd_file="./configPkg/compiler.opt" "../DK_TM4C129X.c"
"C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/global.h", line 39: fatal error #1965: cannot open source file "C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/Debug/configPkg/package/cfg/uartlogging_pem4f.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "../DK_TM4C129X.c".
Compilation terminated.
gmake: *** [DK_TM4C129X.obj] Error 1
'Building file: ../UARTUtils.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --include_path="C:/ti/tirtos_1_20_00_28/products/TivaWare_C_Series-2.0b" -g --gcc --define=PART_TM4C129XNCZAD --define=ccs --define=TIVAWARE --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="UARTUtils.pp" --cmd_file="./configPkg/compiler.opt" "../UARTUtils.c"
'Finished building: ../UARTUtils.c'
' '
'Building file: ../uartlogging.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --include_path="C:/ti/tirtos_1_20_00_28/products/TivaWare_C_Series-2.0b" -g --gcc --define=PART_TM4C129XNCZAD --define=ccs --define=TIVAWARE --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="uartlogging.pp" --cmd_file="./configPkg/compiler.opt" "../uartlogging.c"
"C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/global.h", line 39: fatal error #1965: cannot open source file "C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/Debug/configPkg/package/cfg/uartlogging_pem4f.h"
1 catastrophic error detected in the compilation of "../uartlogging.c".
Compilation terminated.

>> Compilation failure
gmake: *** [uartlogging.obj] Error 1
'Building file: ../uartlogging.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_25_04_88/xs" --xdcpath="C:/ti/tirtos_1_20_00_28/packages;C:/ti/tirtos_1_20_00_28/products/bios_6_37_00_20/packages;C:/ti/tirtos_1_20_00_28/products/ipc_3_10_01_11/packages;C:/ti/tirtos_1_20_00_28/products/ndk_2_23_00_00/packages;C:/ti/tirtos_1_20_00_28/products/uia_1_04_00_06/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129XNCZAD -r release -c "C:/ti/ccsv5/tools/compiler/arm_5.1.1" "../uartlogging.cfg"
configuring uartlogging.xem4f from package/cfg/uartlogging_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/src/sysbios.aem4f ...
gmake[1]: Entering directory `C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/project/dcds/texas/TI_RTOS_schb/uartlogging_TivaTM4C129XNCZAD/src/sysbios'
Build of libraries done.
clem4f package/cfg/uartlogging_pem4f.c ...
'Finished building: ../uartlogging.cfg'
' '
gmake: Target `all' not remade because of errors.

**** Build Finished ****

when AFTER THAT i simply again start a "Build" : ta taa : the build worked and i finally get the result that is ready for debugging.

my questions:

* how can this be fixed that building / rebuilding works with one single request (i it should be) ?

* what is this ERROR 3 ?

* maybe the sequence of the build steps have somehow to get rearranged ??

thanks for advice !

kind regards

schb

  • Can you try creating a new workspace and import/build the example again from TI Resource Explorer?

  • ok - i did:

    * i created a new workspace: test131210

    * i imported the ecample project uartlogging_TivaTM4C129XNCZAD

    * i started the build

    the following messages and erros are the result:

    **** Build of configuration Debug for project uartlogging_TivaTM4C129XNCZAD ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../uartlogging.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_25_04_88/xs" --xdcpath="C:/ti/tirtos_1_20_00_28/packages;C:/ti/tirtos_1_20_00_28/products/bios_6_37_00_20/packages;C:/ti/tirtos_1_20_00_28/products/ipc_3_10_01_11/packages;C:/ti/tirtos_1_20_00_28/products/ndk_2_23_00_00/packages;C:/ti/tirtos_1_20_00_28/products/uia_1_04_00_06/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129XNCZAD -r release -c "C:/ti/ccsv5/tools/compiler/arm_5.1.1" "../uartlogging.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring uartlogging.xem4f from package/cfg/uartlogging_pem4f.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/uartlogging_TivaTM4C129XNCZAD/src/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/uartlogging_TivaTM4C129XNCZAD/src/sysbios'
    clem4f C:/ti/tirtos_1_20_00_28/products/bios_6_37_00_20/packages/ti/sysbios/BIOS.c ...
    asmem4f C:/ti/tirtos_1_20_00_28/products/bios_6_37_00_20/packages/ti/sysbios/family/arm/m3/Clobber_asm.sv7M ...
    gmake[1]: Leaving directory `C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/uartlogging_TivaTM4C129XNCZAD/src/sysbios'
    gmake[1]: *** [m3_Clobber_asm.obj] Error 3
    gmake: *** [C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/uartlogging_TivaTM4C129XNCZAD/src/sysbios.aem4f] Error 2
    Build of libraries failed.
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/SourceDir.xs", line 184: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/Main.xs", line 153: Error: Configuration failed!
    gmake.exe: *** [package/cfg/uartlogging_pem4f.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/uartlogging_pem4f.xdl'
    gmake.exe: *** [package/cfg/uartlogging_pem4f.xdl] Deleting file `package/cfg/uartlogging_pem4f.h'
    gmake.exe: *** [package/cfg/uartlogging_pem4f.xdl] Deleting file `package/cfg/uartlogging_pem4f.c'
    js: "C:/ti/xdctools_3_25_04_88/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 ****

    what´s wrong ?

    thanks - schb

  • Strange! Can you try three different things:

    1. Create a TI-RTOS empty project. Project->New CCS Project. Give it a name and select Arm for the family. For the variant, select "TIva TM4C129XNCZAD". You should see the TI-RTOS empty example now.

    Try building this example. Do you see the same type of problem?

    2. Can you import a SYS/BIOS example from TI Resource Explorer and build it. Do you see the same type of problem?

    3. Back to New Project Wizard...Can you create and build the "Hello World" that is in "Basic Examples"? (You can see it in the above picture.) Does this one build properly (there might be a couple warning about .stack and .sysmem sections)?

    Todd

  • hi todd,

    (1) i did the stpes you suggested. these are the results for the emoty project

    **** Build of configuration Debug for project test ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../empty.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_25_04_88/xs" --xdcpath="C:/ti/tirtos_1_20_00_28/packages;C:/ti/tirtos_1_20_00_28/products/bios_6_37_00_20/packages;C:/ti/tirtos_1_20_00_28/products/ipc_3_10_01_11/packages;C:/ti/tirtos_1_20_00_28/products/ndk_2_23_00_00/packages;C:/ti/tirtos_1_20_00_28/products/uia_1_04_00_06/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129XNCZAD -r release -c "C:/ti/ccsv5/tools/compiler/arm_5.1.1" "../empty.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring empty.xem4f from package/cfg/empty_pem4f.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/test/src/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/test/src/sysbios'
    clem4f C:/ti/tirtos_1_20_00_28/products/bios_6_37_00_20/packages/ti/sysbios/BIOS.c ...
    gmake[1]: *** [BIOS.obj] Error 3
    gmake[1]: Leaving directory `C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/test/src/sysbios'
    gmake: *** [C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/test/src/sysbios.aem4f] Error 2
    Build of libraries failed.
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/SourceDir.xs", line 184: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/Main.xs", line 153: Error: Configuration failed!
    gmake.exe: *** [package/cfg/empty_pem4f.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/empty_pem4f.xdl'
    gmake.exe: *** [package/cfg/empty_pem4f.xdl] Deleting file `package/cfg/empty_pem4f.h'
    gmake.exe: *** [package/cfg/empty_pem4f.xdl] Deleting file `package/cfg/empty_pem4f.c'
    js: "C:/ti/xdctools_3_25_04_88/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 ****

    ========================================================================================

    (2) i think i did this as written in my former post - if not : which of the sample projects should i use for this test ?

    (3) i imported and built the hello-project from  examples-boards-dk-tm4c129x-hello : i builds ok. here are the results:

    **** Clean-only build of configuration Debug for project hello ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k clean
    DEL /F  "hello.out"
    DEL /F "hello.pp" "startup_ccs.pp" "drivers\frame.pp" "drivers\kentec320x240x16_ssd2119.pp" "drivers\pinout.pp"
    C:\ti\TivaWare_C_Series-2.0\boards\TM4c129x\test131210\hello\Debug\hello.pp konnte nicht gefunden werden
    C:\ti\TivaWare_C_Series-2.0\boards\TM4c129x\test131210\hello\Debug\drivers\frame.pp konnte nicht gefunden werden
    DEL /F "hello.obj" "startup_ccs.obj" "drivers\frame.obj" "drivers\kentec320x240x16_ssd2119.obj" "drivers\pinout.obj"
    C:\ti\TivaWare_C_Series-2.0\boards\TM4c129x\test131210\hello\Debug\hello.obj konnte nicht gefunden werden
    C:\ti\TivaWare_C_Series-2.0\boards\TM4c129x\test131210\hello\Debug\drivers\frame.obj konnte nicht gefunden werden
    'Finished clean'
    ' '

    **** Build Finished ****

    **** Build of configuration Debug for project hello ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../hello.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --include_path="C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x" --include_path="C:/ti/TivaWare_C_Series-2.0" --gcc --define=ccs="ccs" --define=PART_TM4C129XNCZAD --define=TARGET_IS_SNOWFLAKE_RA0 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="hello.pp"  "../hello.c"
    'Finished building: ../hello.c'
    ' '
    'Building file: ../startup_ccs.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --include_path="C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x" --include_path="C:/ti/TivaWare_C_Series-2.0" --gcc --define=ccs="ccs" --define=PART_TM4C129XNCZAD --define=TARGET_IS_SNOWFLAKE_RA0 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="startup_ccs.pp"  "../startup_ccs.c"
    'Finished building: ../startup_ccs.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/drivers/frame.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --include_path="C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x" --include_path="C:/ti/TivaWare_C_Series-2.0" --gcc --define=ccs="ccs" --define=PART_TM4C129XNCZAD --define=TARGET_IS_SNOWFLAKE_RA0 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="drivers/frame.pp" --obj_directory="drivers"  "C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/drivers/frame.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/drivers/frame.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/drivers/kentec320x240x16_ssd2119.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --include_path="C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x" --include_path="C:/ti/TivaWare_C_Series-2.0" --gcc --define=ccs="ccs" --define=PART_TM4C129XNCZAD --define=TARGET_IS_SNOWFLAKE_RA0 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="drivers/kentec320x240x16_ssd2119.pp" --obj_directory="drivers"  "C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/drivers/kentec320x240x16_ssd2119.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/drivers/kentec320x240x16_ssd2119.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/drivers/pinout.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --include_path="C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x" --include_path="C:/ti/TivaWare_C_Series-2.0" --gcc --define=ccs="ccs" --define=PART_TM4C129XNCZAD --define=TARGET_IS_SNOWFLAKE_RA0 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="drivers/pinout.pp" --obj_directory="drivers"  "C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/drivers/pinout.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/drivers/pinout.c'
    ' '
    'Building target: hello.out'
    'Invoking: ARM Linker'
    "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --gcc --define=ccs="ccs" --define=PART_TM4C129XNCZAD --define=TARGET_IS_SNOWFLAKE_RA0 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual -z --stack_size=512 -m"hello_ccs.map" --heap_size=0 -i"C:/ti/ccsv5/tools/compiler/arm_5.1.1/lib" -i"C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="hello_linkInfo.xml" --rom_model -o "hello.out"  "./drivers/pinout.obj" "./drivers/kentec320x240x16_ssd2119.obj" "./drivers/frame.obj" "./startup_ccs.obj" "./hello.obj" "../hello_ccs.cmd" -l"libc.a" -l"C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/hello/ccs/../../../../../driverlib/ccs/Debug/driverlib.lib" -l"C:/ti/TivaWare_C_Series-2.0/examples/boards/dk-tm4c129x/hello/ccs/../../../../../grlib/ccs/Debug/grlib.lib"
    <Linking>
    'Finished building target: hello.out'
    ' '
    "C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin" "hello.out" "hello.bin" "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armofd" "C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armhex" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin"
    ' '

    **** Build Finished ****

    any more ideas ?

    thanks - schb

  • Regarding #2. Can you make the "typical" SYS/BIOS example in TI Resource Explorer (SYS/BIOS->ARM->Tiva C Series->Tiva TM4C129XNCZAD->TI Targets Examples->Typical.

    I'm assuming this should not build with the same type of error. Do you have another gmake somewhere? Maybe with MKS or something?

    Todd

  • #2: unfortunately i don´t find this example within my installed examples. there even is no entry for "TI Targets Examples" as well.

    gmake: at least there is none within my execution path. in my tests when i step by step built the objects in the "sysbios" directory this also resulted in an error 3 (see my first posting) and i started gmake with the full path : i.e. : c:\ti\ccsv5\utils\bin\gmake.exe

    for example when i call c:\ti\ccsv5\utils\bin\gmake.exe within directory c:\ti\TivaWare_C_Series-2.0\boards\TM4c129x\test131210\test\src\sysbios\ it completes with error message

         gmake: *** [m3_Clobber_asm.obj] Error 3

    but the object gets builded.

    schb

  • Something seems fundamentally wrong with your CCS installation. Can you do Project->New CCS Project and select a name and set the Family to Arm and the variant to "TIva TM4C129XNCZAD" (like you did for the TI-RTOS empty project. Now select SYS/BIOS' typical project instead. It should look like this:

    Instead hitting "Finish", select "Next >". Can you post a snapshot of this. If should look something like this:

    Todd

  • hi todd,

    i really would like to do as you suggested - unfortunately my screen looks like this:

    so, as you see, there is NO such option as SYS/BIOS.

    what am i missing ?

    as an additional info: preliminary to xdctools_3_25_04_88 i already installed xdctools_3_25_00_48 and both versions are still present in my directory tree right below c:\ti\

    regards - schb

  • hi todd,

    i really would like to do as you suggested. unfortunately my screen looks like

    as you see, there is NO such entry SYS/BIOS.

    so what am i missing ?

    additional info: preliminary to xdctools_3_25_04_88 i also have installed xdctools_3_25_00_48. both versiony are still installed right below c:\ti

    regards - schb

  • Can you attach the snapshot?

    Thanks,

    Todd

  • here it is ...

    what next ?

    thanks - schb

  • Sorry to ask this, but can install CCS 5.5 again. Please do not take the default installation directory. Instead pick something like c:\ti\ccs5_5_0. Do not install on top of an existing installation.

    During the install, please select "Complete Feature Set"

    Or if you really don't want to do that, select custom and make sure to select SYS/BIOS when asked.

    Once the install is done, run that version of CCS. It should locate TI-RTOS (assuming you have it in c:\ti). After you select the products to be added and hit finish, CCS will restart. After the restartthe TI-RTOS examples should work.

    Todd

  • hi todd,

    i did as you suggested and i freshly installed CCS according to your recommendations.

    now the SYS/BIOS subtree shows up.

    as suggested with your email from 10.12.2013 :

    "Regarding #2. Can you make the "typical" SYS/BIOS example in TI Resource Explorer (SYS/BIOS->ARM->Tiva C Series->Tiva TM4C129XNCZAD->TI Targets Examples->Typical.

    I'm assuming this should not build with the same type of error. Do you have another gmake somewhere? Maybe with MKS or something?"

    i tried it and the results are:


    **** Build of configuration Debug for project typical_TivaTM4C129XNCZAD ****

    "C:\\ti\\ccs5_5_0\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../app.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_25_04_88/xs" --xdcpath="C:/ti/ccs5_5_0/bios_6_35_04_50/packages;C:/ti/ccs5_5_0/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.stellaris:TM4C129XNCZAD -r release -c "C:/ti/ccs5_5_0/ccsv5/tools/compiler/arm_5.1.1" --compileOptions "-g --optimize_with_debug" "../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.xem4f from package/cfg/app_pem4f.cfg ...
    warning: ti.platforms.stellaris.Platform: "C:/ti/xdctools_3_25_04_88/packages/ti/platforms/stellaris/Platform.xs", line 144: ti.platforms.stellaris.Platform.Instance#0 TM4C129XNCZAD: This is a TIVA device and should use ti.platforms.tiva:TM4C129XNCZAD Platform.
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/typical_TivaTM4C129XNCZAD/src/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/typical_TivaTM4C129XNCZAD/src/sysbios'
    clem4f C:/ti/ccs5_5_0/bios_6_35_04_50/packages/ti/sysbios/BIOS.c ...
    gmake[1]: *** [BIOS.obj] Error 3
    gmake[1]: Leaving directory `C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/typical_TivaTM4C129XNCZAD/src/sysbios'
    gmake: *** [C:/ti/TivaWare_C_Series-2.0/boards/TM4c129x/test131210/typical_TivaTM4C129XNCZAD/src/sysbios.aem4f] Error 2
    Build of libraries failed.
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/SourceDir.xs", line 184: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "C:/ti/xdctools_3_25_04_88/packages/xdc/cfg/Main.xs", line 153: Error: Configuration failed!
    gmake.exe: *** [package/cfg/app_pem4f.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/app_pem4f.xdl'
    gmake.exe: *** [package/cfg/app_pem4f.xdl] Deleting file `package/cfg/app_pem4f.h'
    gmake.exe: *** [package/cfg/app_pem4f.xdl] Deleting file `package/cfg/app_pem4f.c'
    js: "C:/ti/xdctools_3_25_04_88/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    following you email from Posted by

  • i found the cause of my troubles: i had a different kind of shell installed on my system that replaced the windows standard shell. this lead to the problem discussed above.

    after using standard 'sh' again examples worked properly as intended.

    anyway, thanks for support - sorry, it was my fault !

    schb

  • schb

    Can you please tell me what kind of 'sh' shell installed and where and how did you resolved it??

    I am facing the same problem as you mentioned about. Could you please provide some details?

    Thanks,

    Nirav

  • hi nirav,


    sorry for the last reply: i had a win-bash installed in my search path.

    after replacing (removing) it with a standard shell (like the one in c:\ti\ccs5_5_0\bios_5_42_01_09\xdctools\bin\sh.exe) it worked

    good luck

    schb