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 build error

Other Parts Discussed in Thread: TM4C1294NCPDT, SYSBIOS

I have TI-RTOS 2.16.00.08 installed with CCS 6.1.2.00015.  I have been trying to import a basic example project into my workspace and compile.  I keep getting errors during the link.  I have tried both the TI and GCC tool-chains, and both fail to build.  I also tried TI-RTOS 2.14.  No luck.  Imported TivaWare projects work fine.

Here is my build log.

**** Build of configuration Debug for project uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all

'Building file: ../uartecho.cfg'

'Invoking: XDCtools'

"C:/ti/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;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r release -c "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3" --compileOptions "-mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -I\"C:/Users/barralem/workspace_v6_1/uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\" -I\"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b\" -I\"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix\" -I\"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/arm-none-eabi/include\" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MD -std=c99 -c " "../uartecho.cfg"

making package.mak (because of package.bld) ...

generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

configuring uartecho.xm4fg from package/cfg/uartecho_pm4fg.cfg ...

generating custom ti.sysbios library makefile ...

Starting build of library sources ...

making C:/Users/barralem/workspace_v6_1/uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios/sysbios.am4fg ...

gmake[1]: Entering directory `C:/Users/barralem/workspace_v6_1/uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios'

asmm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi_asm_gnu.sv7M ...

asmm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch_gnu.sv7M ...

asmm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm_gnu.sv7M ...

asmm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/TaskSupport_asm_gnu.sv7M ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Clock.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Idle.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Intrinsics.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Event.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Semaphore.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Swi.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Swi_andn.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/hal/Hwi.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/hal/Hwi_stack.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/hal/Hwi_startup.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/TaskSupport.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/rts/gnu/ReentSupport.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/rts/gnu/SemiHostSupport.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/gates/GateHwi.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/gates/GateMutex.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/heaps/HeapMem.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/utils/Load.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/utils/Load_CPU.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/lm4/TimestampProvider.c ...

clm4fg C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/lm4/Timer.c ...

arm4fg m3_Hwi_asm_gnu.o m3_Hwi_asm_switch_gnu.o m3_IntrinsicsSupport_asm_gnu.o m3_TaskSupport_asm_gnu.o _BIOS.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Event.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Swi_andn.o knl_Task.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o m3_Hwi.o m3_TaskSupport.o gnu_ReentSupport.o gnu_SemiHostSupport.o gates_GateHwi.o gates_GateMutex.o heaps_HeapMem.o utils_Load.o utils_Load_CPU.o lm4_TimestampProvider.o lm4_Timer.o ...

gmake[1]: Leaving directory `C:/Users/barralem/workspace_v6_1/uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios'

Build of libraries done.

clm4fg package/cfg/uartecho_pm4fg.c ...

'Finished building: ../uartecho.cfg'

' '

1 file(s) copied.

making ../src/sysbios/sysbios.am4fg ...

gmake[1]: Entering directory `C:/Users/barralem/workspace_v6_1/uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios'

gmake[1]: Nothing to be done for `all'.

gmake[1]: Leaving directory `C:/Users/barralem/workspace_v6_1/uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios'

'Building file: ../EK_TM4C1294XL.c'

'Invoking: GNU Compiler'

"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -I"C:/Users/barralem/workspace_v6_1/uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b" -I"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix" -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MD -std=c99 -c -MMD -MP -MF"EK_TM4C1294XL.d" -MT"EK_TM4C1294XL.d" -o"EK_TM4C1294XL.o" @"configPkg/compiler.opt" "../EK_TM4C1294XL.c"

'Finished building: ../EK_TM4C1294XL.c'

' '

'Building file: ../uartecho.c'

'Invoking: GNU Compiler'

"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -I"C:/Users/barralem/workspace_v6_1/uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b" -I"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix" -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MD -std=c99 -c -MMD -MP -MF"uartecho.d" -MT"uartecho.d" -o"uartecho.o" @"configPkg/compiler.opt" "../uartecho.c"

'Finished building: ../uartecho.c'

' '

'Building target: uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out'

'Invoking: GNU Linker'

"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi-gcc.exe" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b/grlib/gcc" -L"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b/usblib/gcc" -L"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b/driverlib/gcc" -L"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/armv7e-m/fpu" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o"uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out" "./EK_TM4C1294XL.o" "./uartecho.o" -Wl,-T"../EK_TM4C1294XL.lds" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -l"gr" -l"usb" -l"driver" -l"gcc" -l"m" -l"rdimon" -l"c" -Wl,--end-group

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\sysbios\.libraries\release\ti.uia.sysbios.am4fg

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\loggers\.libraries\release\ti.uia.loggers.am4fg

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\tidrivers_tivac_2_16_00_08\packages\ti\mw\fatfs\.libraries\release\ti.mw.fatfs.am4fg

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\ti\catalog\arm\cortexm4\tiva\ce\.libraries\Boot.am4fg

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\services\.libraries\release\ti.uia.services.am4fg

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\runtime\.libraries\release\ti.uia.runtime.am4fg

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\events\.libraries\release\ti.uia.events.am4fg

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\gnu.targets.arm.rtsv7M.am4fg

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\boot.am4fg

c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\syscalls.am4fg

collect2.exe: error: ld returned 1 exit status

gmake: *** [uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out] Error 1

gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Moving it to the TI RTOS forum

    Regards
    Amit
  • Alex,
    can you post the content of the file Debug/configPkg/linker.cmd? It seems that somehow the string "lib" got converted into ".libraries" in all library paths. Have you made any changes to EK_TM4C1294XL.lds?
  • Sure, here it is.  I didn't edit the lds file.

    /*
     * This file was generated by linkcmd_gnu.xdt from the ti.platforms.tiva package.
     */

    __STACK_SIZE = 0x300;
    __TI_STACK_SIZE = __STACK_SIZE;

    INPUT(
        C:\Users\barralem\workspace_v6_1\uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\Debug\configPkg\package\cfg\uartecho_pm4fg.om4fg
        C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/lib/cc3x00_host_driver.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\sysbios\.libraries\release\ti.uia.sysbios.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\loggers\.libraries\release\ti.uia.loggers.am4fg
        C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_tivaware.am4fg
        C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_wifi_tivaware.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\tidrivers_tivac_2_16_00_08\packages\ti\mw\fatfs\.libraries\release\ti.mw.fatfs.am4fg
        C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/ports/lib/tirtosport.am4fg
        C:\Users\barralem\workspace_v6_1\uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\src\sysbios\sysbios.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\ti\catalog\arm\cortexm4\tiva\ce\.libraries\Boot.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\services\.libraries\release\ti.uia.services.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\runtime\.libraries\release\ti.uia.runtime.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\events\.libraries\release\ti.uia.events.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\gnu.targets.arm.rtsv7M.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\boot.am4fg
        C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\syscalls.am4fg
    )

    /*
     * symbolic aliases for static instance objects
     */
    xdc_runtime_Startup__EXECFXN__C = 1;
    xdc_runtime_Startup__RESETFXN__C = 1;


    SECTIONS {

            .bootVecs (DSECT) : {*(.bootVecs)}
        xdc.meta (COPY) : {KEEP(*(xdc.meta))}  AT> REGION_TEXT


        /*
         * Linker command file contributions from all loaded packages:
         */
       
    /* Content from ti.sysbios.family.arm (ti/sysbios/family/arm/linkcmd.xdt): */

    /* Content from ti.sysbios.family.arm.m3 (ti/sysbios/family/arm/m3/linkcmd.xdt): */
        _intvecs_base_address = 0;
        _vtable_base_address = 536870912;
    ti_sysbios_family_arm_m3_Hwi_nvic = 0xe000e000;

    /* Content from ti.sysbios.rts (ti/sysbios/rts/linkcmd.xdt): */


        __TI_STACK_BASE = __stack;
    }

    ENTRY(_c_int00)

    /* function aliases */
    xdc_runtime_System_asprintf_va__E = xdc_runtime_System_asprintf_va__F;
    xdc_runtime_System_snprintf_va__E = xdc_runtime_System_snprintf_va__F;
    xdc_runtime_System_printf_va__E = xdc_runtime_System_printf_va__F;
    xdc_runtime_System_aprintf_va__E = xdc_runtime_System_aprintf_va__F;
    xdc_runtime_System_sprintf_va__E = xdc_runtime_System_sprintf_va__F;

  • Can you go to Project Properties->C/C++ Build->Environment, and add an environment variable XDC_TRACE_GROUPS, and set its value to "getLibs"? Then, clean and rebuild. The console output should now contain a couple of lines like this one:
    TIME=10:28:34.290 AM -- xdc: getLibs: package 'configPkg' supplying library 'C:\Users\xxx\workspace_v6_1_1\gcc_3200\Debug\configPkg\package\cfg\app_pm4g.om4g'. (getLibs, all)
    Please post these lines.

    Are the errors same for the TI linker? Does the string ".libraries" show up in the libraries names in linker.cmd in that case too?
  • Here are the lines. I just tried changing to the TI 5.2.7 tool chain, but I'm getting a compiler error that I need to resolve.

    TIME=12:55:05.012 PM -- xdc: getLibs: package 'configPkg' supplying library 'C:\Users\barralem\workspace_v6_1\uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\Debug\configPkg\package\cfg\uartecho_pm4fg.om4fg'. (getLibs, all)
    TIME=12:55:05.012 PM -- xdc: getLibs: package 'ti.mw.wifi.cc3x00' supplying library 'C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/lib/cc3x00_host_driver.am4fg'. (getLibs, all)
    TIME=12:55:05.012 PM -- xdc: getLibs: package 'ti.uia.sysbios' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\sysbios\.libraries\release\ti.uia.sysbios.am4fg'. (getLibs, all)
    TIME=12:55:05.028 PM -- xdc: getLibs: package 'ti.uia.loggers' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\loggers\.libraries\release\ti.uia.loggers.am4fg'. (getLibs, all)
    TIME=12:55:05.028 PM -- xdc: getLibs: package 'ti.drivers' supplying library 'C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_tivaware.am4fg'. (getLibs, all)
    TIME=12:55:05.028 PM -- xdc: getLibs: package 'ti.drivers' supplying library 'C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_wifi_tivaware.am4fg'. (getLibs, all)
    TIME=12:55:05.028 PM -- xdc: getLibs: package 'ti.mw.fatfs' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\tidrivers_tivac_2_16_00_08\packages\ti\mw\fatfs\.libraries\release\ti.mw.fatfs.am4fg'. (getLibs, all)
    TIME=12:55:05.028 PM -- xdc: getLibs: package 'ti.drivers.ports' supplying library 'C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/ports/lib/tirtosport.am4fg'. (getLibs, all)
    TIME=12:55:05.028 PM -- xdc: getLibs: package 'ti.sysbios' supplying library 'C:\Users\barralem\workspace_v6_1\uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\src\sysbios\sysbios.am4fg'. (getLibs, all)
    TIME=12:55:05.043 PM -- xdc: getLibs: package 'ti.catalog.arm.cortexm4.tiva.ce' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\ti\catalog\arm\cortexm4\tiva\ce\.libraries\Boot.am4fg'. (getLibs, all)
    TIME=12:55:05.043 PM -- xdc: getLibs: package 'ti.uia.services' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\services\.libraries\release\ti.uia.services.am4fg'. (getLibs, all)
    TIME=12:55:05.043 PM -- xdc: getLibs: package 'ti.uia.runtime' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\runtime\.libraries\release\ti.uia.runtime.am4fg'. (getLibs, all)
    TIME=12:55:05.059 PM -- xdc: getLibs: package 'ti.uia.events' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\events\.libraries\release\ti.uia.events.am4fg'. (getLibs, all)
    TIME=12:55:05.059 PM -- xdc: getLibs: package 'gnu.targets.arm.rtsv7M' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\gnu.targets.arm.rtsv7M.am4fg'. (getLibs, all)
    TIME=12:55:05.059 PM -- xdc: getLibs: package 'gnu.targets.arm.rtsv7M' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\boot.am4fg'. (getLibs, all)
    TIME=12:55:05.059 PM -- xdc: getLibs: package 'gnu.targets.arm.rtsv7M' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\syscalls.am4fg'. (getLibs, all)
  • 0447.package.zip

    We'll have to change your XDCtools installation to continue debugging. I have attached a JAR file that should be copied to the directory packages/xdc/services/intern/gen/java. But before copying the file, rename the existing package.jar so you can get back to it later. The new JAR file will generate additional debug info on the console mixed with the trace statements from your last post. Please post the new console output.

  • Here is the console log.

    Is there any way for me to attach a file?  The paper clip icon seems to want to insert files as rich media.

    TIME=06:02:48.370 AM -- xdc: getLibs: package 'configPkg' supplying library 'C:\Users\barralem\workspace_v6_1\uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\Debug\configPkg\package\cfg\uartecho_pm4fg.om4fg'. (getLibs, all)
    getLibs returned: null
    getLibs returned: C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/lib/cc3x00_host_driver.am4fg;
    parsing libs: C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/lib/cc3x00_host_driver.am4fg
    TIME=06:02:48.370 AM -- xdc: getLibs: package 'ti.mw.wifi.cc3x00' supplying library 'C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/mw/wifi/cc3x00/lib/cc3x00_host_driver.am4fg'. (getLibs, all)
    parsing libs:
    getLibs returned: lib/release/ti.uia.sysbios.am4fg
    parsing libs: lib/release/ti.uia.sysbios.am4fg
    TIME=06:02:48.370 AM -- xdc: getLibs: package 'ti.uia.sysbios' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\sysbios\.libraries\release\ti.uia.sysbios.am4fg'. (getLibs, all)
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: lib/release/ti.uia.loggers.am4fg
    parsing libs: lib/release/ti.uia.loggers.am4fg
    TIME=06:02:48.370 AM -- xdc: getLibs: package 'ti.uia.loggers' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\loggers\.libraries\release\ti.uia.loggers.am4fg'. (getLibs, all)
    getLibs returned: null
    getLibs returned: C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_tivaware.am4fg;C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_wifi_tivaware.am4fg;
    parsing libs: C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_tivaware.am4fg
    TIME=06:02:48.370 AM -- xdc: getLibs: package 'ti.drivers' supplying library 'C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_tivaware.am4fg'. (getLibs, all)
    parsing libs: C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_wifi_tivaware.am4fg
    TIME=06:02:48.370 AM -- xdc: getLibs: package 'ti.drivers' supplying library 'C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/lib/drivers_wifi_tivaware.am4fg'. (getLibs, all)
    parsing libs:
    getLibs returned: lib/release/ti.mw.fatfs.am4fg
    parsing libs: lib/release/ti.mw.fatfs.am4fg
    TIME=06:02:48.370 AM -- xdc: getLibs: package 'ti.mw.fatfs' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\tidrivers_tivac_2_16_00_08\packages\ti\mw\fatfs\.libraries\release\ti.mw.fatfs.am4fg'. (getLibs, all)
    getLibs returned: C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/ports/lib/tirtosport.am4fg;
    parsing libs: C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/ports/lib/tirtosport.am4fg
    TIME=06:02:48.370 AM -- xdc: getLibs: package 'ti.drivers.ports' supplying library 'C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages/ti/drivers/ports/lib/tirtosport.am4fg'. (getLibs, all)
    parsing libs:
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: !C:\Users\barralem\workspace_v6_1\uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\src\sysbios\sysbios.am4fg
    parsing libs: !C:\Users\barralem\workspace_v6_1\uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\src\sysbios\sysbios.am4fg
    TIME=06:02:48.370 AM -- xdc: getLibs: package 'ti.sysbios' supplying library 'C:\Users\barralem\workspace_v6_1\uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\src\sysbios\sysbios.am4fg'. (getLibs, all)
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: lib/Boot.am4fg
    parsing libs: lib/Boot.am4fg
    TIME=06:02:48.370 AM -- xdc: getLibs: package 'ti.catalog.arm.cortexm4.tiva.ce' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\ti\catalog\arm\cortexm4\tiva\ce\.libraries\Boot.am4fg'. (getLibs, all)
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: lib/release/ti.uia.services.am4fg
    parsing libs: lib/release/ti.uia.services.am4fg
    TIME=06:02:48.385 AM -- xdc: getLibs: package 'ti.uia.services' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\services\.libraries\release\ti.uia.services.am4fg'. (getLibs, all)
    getLibs returned: null
    getLibs returned: lib/release/ti.uia.runtime.am4fg
    parsing libs: lib/release/ti.uia.runtime.am4fg
    TIME=06:02:48.385 AM -- xdc: getLibs: package 'ti.uia.runtime' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\runtime\.libraries\release\ti.uia.runtime.am4fg'. (getLibs, all)
    getLibs returned: lib/release/ti.uia.events.am4fg
    parsing libs: lib/release/ti.uia.events.am4fg
    TIME=06:02:48.385 AM -- xdc: getLibs: package 'ti.uia.events' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\uia_2_00_05_50\packages\ti\uia\events\.libraries\release\ti.uia.events.am4fg'. (getLibs, all)
    getLibs returned: null
    getLibs returned:
    getLibs returned: null
    getLibs returned: null
    getLibs returned: lib/gnu.targets.arm.rtsv7M.am4fg;lib/boot.am4fg;lib/syscalls.am4fg
    parsing libs: lib/gnu.targets.arm.rtsv7M.am4fg
    TIME=06:02:48.385 AM -- xdc: getLibs: package 'gnu.targets.arm.rtsv7M' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\gnu.targets.arm.rtsv7M.am4fg'. (getLibs, all)
    parsing libs: lib/boot.am4fg
    TIME=06:02:48.385 AM -- xdc: getLibs: package 'gnu.targets.arm.rtsv7M' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\boot.am4fg'. (getLibs, all)
    parsing libs: lib/syscalls.am4fg
    TIME=06:02:48.385 AM -- xdc: getLibs: package 'gnu.targets.arm.rtsv7M' supplying library 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\syscalls.am4fg'. (getLibs, all)
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null
    getLibs returned: null

  • I attached the JAR file just by dragging and dropping it in the message text box. There are only some extensions that are accepted, so I just always make a zip file first.

    Now, back to the problem. I think I narrowed the problem down to some calls to a Java library function getCanonicalPath(), but I can't tell why would they return an incorrect name. I haven't seen such a problem before.

    What's the version of Windows you are running?
    If you go to the directory C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M and remove the file .libraries, does the output change? Don't worry about removing that file, it's not really needed.
    Have you rebuilt SYS/BIOS since installing it?

  • I am running Windows 7 enterprise, 64 bit.  I have not rebuilt SYS/BIOS.

    As an aside, on one of the prior messages, I reimported the TI version of uartecho, and it also fails on missing aem4f files.

    To check on your more recent comment, I deleted .libraries, cleaned and built.  The output is different.  It throws an error on a memory region:

    'Invoking: GNU Linker'

    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi-gcc.exe" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b/grlib/gcc" -L"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b/usblib/gcc" -L"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b/driverlib/gcc" -L"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/armv7e-m/fpu" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o"uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out" "./EK_TM4C1294XL.o" "./uartecho.o" -Wl,-T"../EK_TM4C1294XL.lds" -Wl,-T"../tm4c1294ncpdt.lds" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -l"gr" -l"usb" -l"driver" -l"gcc" -l"m" -l"rdimon" -l"c" -Wl,--end-group

    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe:../tm4c1294ncpdt.lds:11: warning: redeclaration of memory region `FLASH'

    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe:../tm4c1294ncpdt.lds:12: warning: redeclaration of memory region `SRAM'

    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe:../tm4c1294ncpdt.lds:15: error: redefinition of memory region alias `REGION_TEXT'

    collect2.exe: error: ld returned 1 exit status

    gmake: *** [uartecho_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out] Error 1

    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • The new error is a consequence of an additional linker command script, -Wl,-T"../tm4c1294ncpdt.lds", that you somehow added to the command line. You already have -Wl,-T"../EK_TM4C1294XL.lds". Remove the extra linker command script and try again.

    Also, keep checking the console output after each build. We are trying to find out why an invalid path 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\.libraries\boot.am4fg' is showing up instead of the valid one 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M\lib\boot.am4fg'. If removing .libraries from 'C:\ti\tirtos_tivac_2_16_00_08\products\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7M' causes that problem to disappear, at least we would have a workaround.

    But there must be something different on your system. We had thousands of users building these examples, and sometimes things don't work out of the box, but I have never seen this kind of problem.

  • I fixed the linker command, and it compiles now.

    I tried recreating this on my home computer and it worked fine from the start. I'm getting ready to wipe my c:\ti folder and start from scratch. I have CCS 4, 5, and 6 all installed here. Perhaps one is stepping on the other. I need to use CCS5 to support an old C6713 design. CCS4 can go away.

    We have a strict IT policy here that does not allow me to disable McAfee. I get the "please disable McAfee" warning every time I install anything. It's never been a problem before, but perhaps it is now.
  • I tried archiving and deleting c:\ti, then reinstalling CCS/TI-RTOS/TivaWare.  With this clean install, I am back to getting the same missing files error that I originally had.

  • Does it help if you delete .libraries files that you deleted from the previous installation?
    I attached another zip file with a JAR file inside. That one goes to packages/xdc/services/global/java in you XDCtools installation. It will create more debugging output. Please attach the output as previously.

  • I don't see an attachment.  Should I use the old package.zip?

  • 3821.package.zip

    I am sorry, I forgot the attachment but I added it to this post. This one goes to a different location from the old package.zip, as I mentioned above.

  • I deleted all of the empty .library files, cleaned, built, and had success.  I attached the build console output.

    5305.ti debugging.txt

  • I don't see the output from package.jar files I sent you. Have you replaced the original versions with the new files?
    I think we established that .libraries files are affecting the build. Since you can build successfully now it's really up to you if you want to keep debugging the problem. I would like to know but I also understand if you just want to keep working on your project.
  • I think I dropped the file in the wrong xdctools folder. I think you are right, and it is isolated to all of these empty .library files that I have in my installation. There are also empty .dlls, .executables, and .interfaces in several folders.

    Since I have this running now (even with the TI tools), I'll set deleting .libraries as the thread answer.