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.

TI-RTOS v2.14.0.10 compilation error

Other Parts Discussed in Thread: TM4C1294NCPDT

Hi

I just changed TI-RTOS from v2.10.1.38 to v2.14.0.10 ( in the CCS v6.1 RTSC menu ) , and, when I tried to compile a program that already is operating ( when using TI-RTOS v2.10.1.38 ), some modules show compilation errors, as is in attached file.

Could somebody tell me how to fix this issue, please?

Sergio

**** Build of configuration Debug for project TIO_BRASCONTROL_v22 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Projetos/Projetos CCS V6/TM4C1294/TIO_BRASCONTROL_v22/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_10_01_38/products/bios_6_41_00_26/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/tirtos_tivac_2_10_01_38/products/bios_6_41_00_26/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_10_01_38/products/bios_6_41_00_26/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_10_01_38/products/bios_6_41_00_26/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_10_01_38/products/bios_6_41_00_26/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
arem4f BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
gmake[1]: Leaving directory `C:/Projetos/Projetos CCS V6/TM4C1294/TIO_BRASCONTROL_v22/src/sysbios'
'Building file: ../tio_brascontrol_v20.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_30_04_52_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_14_00_10/packages;C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages;C:/ti/tirtos_tivac_2_14_00_10/products/ndk_2_24_03_35/packages;C:/ti/tirtos_tivac_2_14_00_10/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include\" --include_path=\"C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd\" --include_path=\"C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.0.12573c\" -g --gcc --define=ccs=\"ccs\" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on  " "../tio_brascontrol_v20.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring tio_brascontrol_v20.xem4f from package/cfg/tio_brascontrol_v20_pem4f.cfg ...
generating custom ti.sysbios library makefile ... 
Starting build of library sources ...
making C:/Projetos/PR4667~1/TM4C1294/TIO_BRASCONTROL_v22/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Projetos/PR4667~1/TM4C1294/TIO_BRASCONTROL_v22/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_14_00_10/products/bios_6_42_01_20/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
arem4f BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
gmake[1]: Leaving directory `C:/Projetos/PR4667~1/TM4C1294/TIO_BRASCONTROL_v22/src/sysbios'
Build of libraries done.
clem4f package/cfg/tio_brascontrol_v20_pem4f.c ...
'Finished building: ../tio_brascontrol_v20.cfg'
' '
'Building file: ../EK_TM4C1294XL.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="EK_TM4C1294XL.pp" --cmd_file="./configPkg/compiler.opt"  "../EK_TM4C1294XL.c"
"../EK_TM4C1294XL.c", line 41: fatal error #1965: cannot open source file "inc/hw_memmap.h"
1 catastrophic error detected in the compilation of "../EK_TM4C1294XL.c".
Compilation terminated.

>> Compilation failure
gmake: *** [EK_TM4C1294XL.obj] Error 1
'Building file: ../UARTUtils.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="UARTUtils.pp" --cmd_file="./configPkg/compiler.opt"  "../UARTUtils.c"
"..\EK_TM4C1294XL.h", line 59: error #20: identifier "GPIO_Callbacks" is undefined
1 error detected in the compilation of "../UARTUtils.c".

>> Compilation failure
gmake: *** [UARTUtils.obj] Error 1
'Building file: C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/driverlib/hibernate.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="hibernate.pp" --cmd_file="./configPkg/compiler.opt"  "C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/driverlib/hibernate.c"
"C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/driverlib/hibernate.c", line 50: fatal error #1965: cannot open source file "inc/hw_hibernate.h"
1 catastrophic error detected in the compilation of "C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/driverlib/hibernate.c".
Compilation terminated.

>> Compilation failure
gmake: *** [hibernate.obj] Error 1
'Building file: ../rtc.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="rtc.pp" --cmd_file="./configPkg/compiler.opt"  "../rtc.c"
"..\EK_TM4C1294XL.h", line 59: error #20: identifier "GPIO_Callbacks" is undefined
"../rtc.c", line 38: fatal error #1965: cannot open source file "driverlib/hibernate.h"
1 error and 1 catastrophic error detected in the compilation of "../rtc.c".
Compilation terminated.

>> Compilation failure
gmake: *** [rtc.obj] Error 1
'Building file: ../tio_brascontrol_v20.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="tio_brascontrol_v20.pp" --cmd_file="./configPkg/compiler.opt"  "../tio_brascontrol_v20.c"
"C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd/sys/socket.h", line 252: warning #174-D: external/internal linkage conflict with previous declaration
"..\EK_TM4C1294XL.h", line 59: error #20: identifier "GPIO_Callbacks" is undefined
"../tio_brascontrol_v20.c", line 57: fatal error #1965: cannot open source file "utils/ustdlib.h"
1 error and 1 catastrophic error detected in the compilation of "../tio_brascontrol_v20.c".
Compilation terminated.

>> Compilation failure
gmake: *** [tio_brascontrol_v20.obj] Error 1
'Building file: ../udpEchoHooks.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="udpEchoHooks.pp" --cmd_file="./configPkg/compiler.opt"  "../udpEchoHooks.c"
'Finished building: ../udpEchoHooks.c'
' '
'Building file: C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/utils/ustdlib.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="ustdlib.pp" --cmd_file="./configPkg/compiler.opt"  "C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/utils/ustdlib.c"
"C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/utils/ustdlib.c", line 26: fatal error #1965: cannot open source file "driverlib/debug.h"
1 catastrophic error detected in the compilation of "C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/utils/ustdlib.c".
Compilation terminated.

>> Compilation failure
gmake: *** [ustdlib.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Sergio,

    In your build log there are references to both the older and newer TI-RTOS versions, for example:

    'Building file: C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/driverlib/hibernate.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages/ti/ndk/inc/bsd" --include_path="C:/ti/tirtos_tivac_2_14_00_10/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="hibernate.pp" --cmd_file="./configPkg/compiler.opt"  "C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/driverlib/hibernate.c"
    "C:/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/driverlib/hibernate.c", line 50: fatal error #1965: cannot open source file "inc/hw_hibernate.h"
    ...

    How exactly did you change the TI-RTOS version?  In your edited post you added “in the CCS v6.1 RTSC menu”.  Do you right click on the project and select Properties, and then change it in the RTSC settings for the project?

    Also, did you try cleaning the project before rebuilding?

    Thanks,
    Scott

  • Hi Gary

    Yes, I did exactly what you said: in Properties, in RTSC folder, I clicked 2.14.0.10 option for TI-RTOS for TivaC ( that auto deselect 2.10.1.38 option ) and then, clicked OK button.

    After some seconds later, the window closes and return to main window.

    And, yes, I did a Clean Project, before Build Project.

    If I return to 2.10.1.38, do a Clean Project and Build Project, the compilation is done successfully.

    Previously, I had some problems regarding file owner rights, due strange "heritages" from Windows 8.1 ( I don't use it anymore! ) when I ported to W10. Some files couldn't be changed due these owner rights and CCSv6.1 didn't operate normally. I changed manually those owner rights, to be able to use CCSv6.1. Perhaps there are some kind of these issues still pending somewhere.

    Thanks

    Sergio
  • Sergio,

    OK, thanks.  Before replying I’d tried recreating what you reported on a Windows 7 PC, and didn’t see any issues when switching between TI-RTOS versions.

    It sounds like it might indeed be an odd file permissions issue…

    Regards,
    Scott

  • Hi Scott Gary

    Do you have any clue about the TI-RTOS v2.14.0.10 compilation error?

    Thanks,

    Sergio
  • Sergio,

    No, I don’t.  It seems that it is probably a file permission issue similar to what you’d experienced in the past.  Especially since you can simply switch back to 2.10.1.38 and the build works.

    Searching other forum posts, it doesn’t seem that Windows 10 will be fully supported until the CCS 7.0 release.  Some users have posted indicating success, and others that there are some issues, which need to be investigated.

    Have you tried ensuring all file permissions in the 2.14 installation (both tirtos_* and xdctools_* subdirectories) are set properly?  And also for the workspace containing this project?

    Thanks,
    Scott