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.

CCS/TMS320F28377D: Linking Files Issues with Clean CCS and Project Clone

Part Number: TMS320F28377D
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

I am having an interesting issue that I have never seen before. I recently got a new PC and reinstalled CCS v6.1. I went to grab the released version of our project that has worked continually in the past. But this time, I am getting a load of errors when linking files. It seems to not be finding a couple of files within my RTOS installation directory. I noticed that those files are not in a directory called .libraries but rather the "lib" directory within those folders. I tried including C:\TI\tirtos_c2000_2_12_01_33 in my include directories but that did not fix my issue nor have I needed to use that in the past.

error #10008-D: cannot find file "C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\catalog\c2800\init\.libraries\Boot.a28FP"
error #10008-D: cannot find file "C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\targets\rts2800\.libraries\ti.targets.rts2800.a28FP"
error #10008-D: cannot find file "C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\targets\rts2800\.libraries\boot.a28FP"
error #10008-D: cannot find file "C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\catalog\c2800\initF2837x\.libraries\Boot.a28FP"

Following that I get a host of warnings about my cmd file about the program not fitting into memory space. I am guessing this is an artifact of those missing files as we spent a large amount of time developing a working linker CMD file that I know has worked previously.


"../F2837xD_Internal_Flash_cpu1.cmd", line 337: warning #10068-D: no matching section
"./configPkg/linker.cmd", line 72: warning #10199-D: copy table operator (BINIT) ignored for ".ti_catalog_c2800_initF2837x_flashfuncs": copy table operator cannot be associated with empty output section
warning #10247-D: creating output section ".reset" without a SECTIONS specification
"./configPkg/linker.cmd", line 137: warning #10097: memory range not found: BEGIN on page 1

Does anyone have any ideas on what could cause this issue and know how to fix this?

  • Please do a rebuild of the project and copy the build log to a text file (http://processors.wiki.ti.com/index.php/Build_Errors_in_CCS#CCS_Build_Console), then attach the file here for us to look at.

  • Ok I went through and did a clean build and produced a build log which is attached.

    **** Build of configuration Debug for project Unit_Test ****
    
    "C:\\TI\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: _external.cfg'
    'Invoking: XDCtools'
    "C:/TI/xdctools_3_31_00_24_core/xs" --xdcpath="C:/TI/tirtos_c2000_2_12_01_33/packages;C:/TI/tirtos_c2000_2_12_01_33/products/bios_6_41_04_54/packages;C:/TI/tirtos_c2000_2_12_01_33/products/ipc_3_30_01_12/packages;C:/TI/tirtos_c2000_2_12_01_33/products/ndk_2_24_02_31/packages;C:/TI/tirtos_c2000_2_12_01_33/products/uia_2_00_02_39/packages;C:/TI/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p ti.platforms.tms320x28:TMS320F28377D -r debug -c "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2" --compileOptions "-g --optimize_with_debug" "/Configurations/_external.cfg"
    making package.mak (because of package.bld) ...
    configuring _external.x28FP from package/cfg/_external_p28FP.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making /Configurations/src/sysbios/sysbios.a28FP ...
    gmake[1]: Entering directory `/Configurations/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `/Configurations/src/sysbios'
    Build of libraries done.
    cl28FP package/cfg/_external_p28FP.c ...
    'Finished building: /Configurations/_external.cfg'
    ' '
    'Building file: /src/F2837xD_GlobalVariableDefs.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.pp" --cmd_file="./configPkg/compiler.opt"  "/src/F2837xD_GlobalVariableDefs.c"
    'Finished building: /src/F2837xD_GlobalVariableDefs.c'
    ' '
    'Building file: /src/auto_lib.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="auto_lib.pp" --cmd_file="./configPkg/compiler.opt"  "/src/auto_lib.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: /src/auto_lib.c'
    ' '
    'Building file: /src/cas.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="cas.pp" --cmd_file="./configPkg/compiler.opt"  "/src/cas.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: /src/cas.c'
    ' '
    'Building file: /src/_electronics.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="_electronics.pp" --cmd_file="./configPkg/compiler.opt"  "/src/_electronics.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: /src/_electronics.c'
    ' '
    'Building file: /src/imu.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="imu.pp" --cmd_file="./configPkg/compiler.opt"  "/src/imu.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    "/src/imu.c", line 764: warning #552-D: variable "print_message" was set but never used
    "/src/imu.c", line 214: warning #179-D: variable "imu_log_txt" was declared but never referenced
    'Finished building: /src/imu.c'
    ' '
    'Building file: ../main.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" --cmd_file="./configPkg/compiler.opt"  "../main.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: ../main.c'
    ' '
    'Building file: /src/monitor.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="monitor.pp" --cmd_file="./configPkg/compiler.opt"  "/src/monitor.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: /src/monitor.c'
    ' '
    'Building file: /src/simulation_computer.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="simulation_computer.pp" --cmd_file="./configPkg/compiler.opt"  "/src/simulation_computer.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    "/src/simulation_computer.c", line 656: warning #179-D: variable "text" was declared but never referenced
    'Finished building: /src/simulation_computer.c'
    ' '
    'Building file: /src/ti_dma.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="ti_dma.pp" --cmd_file="./configPkg/compiler.opt"  "/src/ti_dma.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: /src/ti_dma.c'
    ' '
    'Building file: /src/ti_mcbsp.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="ti_mcbsp.pp" --cmd_file="./configPkg/compiler.opt"  "/src/ti_mcbsp.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: /src/ti_mcbsp.c'
    ' '
    'Building file: /src/ti_sci.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="ti_sci.pp" --cmd_file="./configPkg/compiler.opt"  "/src/ti_sci.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: /src/ti_sci.c'
    ' '
    'Building file: /src/ti_spi.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="ti_spi.pp" --cmd_file="./configPkg/compiler.opt"  "/src/ti_spi.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: /src/ti_spi.c'
    ' '
    'Building file: /src/ti_utilities.c'
    'Invoking: C2000 Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" --include_path="C:/TI/tirtos_c2000_2_12_01_33" --include_path="C:/TI/xdctools_3_31_00_24_core" --include_path="/src" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/include" --include_path="C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_headers/include" --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="ti_utilities.pp" --cmd_file="./configPkg/compiler.opt"  "/src/ti_utilities.c"
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 252: warning #303-D: typedef name has already been declared (with same type)
    "C:/TI/xdctools_3_31_00_24_core/packages/xdc/std.h", line 253: warning #303-D: typedef name has already been declared (with same type)
    'Finished building: /src/ti_utilities.c'
    ' '
    'Building target: Unit_Test.out'
    'Invoking: C2000 Linker'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -O3 --opt_for_speed=2 --fp_mode=relaxed --advice:performance=all -g --define=USE_EXT_RAM --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --diag_warning=225 --display_error_number --diag_wrap=off -z -m"Unit_Test.map" --stack_size=0x200 --warn_sections -i"/src" -i"C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/include" -i"C:/TI/ccsv6/tools/compiler/ti-cgt-c2000_6.4.2/lib" -i"C:/ti/controlSUITE/device_support/F2837xD/v150/F2837xD_common/lib" --reread_libs --define=TI --define=ccs_c2k --define=CPU1 --define=DEV_BOARD --display_error_number --diag_wrap=off --xml_link_info="Unit_Test_linkInfo.xml" --rom_model -o "Unit_Test.out" "./F2837xD_GlobalVariableDefs.obj" "./auto_lib.obj" "./cas.obj" "./_electronics.obj" "./imu.obj" "./main.obj" "./monitor.obj" "./simulation_computer.obj" "./ti_dma.obj" "./ti_mcbsp.obj" "./ti_sci.obj" "./ti_spi.obj" "./ti_utilities.obj" "/CommandFiles/F2837xD_Headers_BIOS_cpu1.cmd" "/CommandFiles/F2837xD_Internal_Flash_cpu1.cmd" -l"./configPkg/linker.cmd"  -l"libc.a" 
    <Linking>
    error #10008-D: cannot find file "C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\catalog\c2800\init\.libraries\Boot.a28FP"
    error #10008-D: cannot find file "C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\targets\rts2800\.libraries\ti.targets.rts2800.a28FP"
    error #10008-D: cannot find file "C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\targets\rts2800\.libraries\boot.a28FP"
    error #10008-D: cannot find file "C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\catalog\c2800\initF2837x\.libraries\Boot.a28FP"
    "/CommandFiles/F2837xD_Internal_Flash_cpu1.cmd", line 337: warning #10068-D: no matching section
    "./configPkg/linker.cmd", line 72: warning #10199-D: copy table operator (BINIT) ignored for ".ti_catalog_c2800_initF2837x_flashfuncs":  copy table operator cannot be associated with empty output section
    warning #10247-D: creating output section ".reset" without a SECTIONS specification
    "./configPkg/linker.cmd", line 137: warning #10097: memory range not found: BEGIN on page 1
    "./configPkg/linker.cmd", line 137: error #10099-D: program will not fit into available memory.  run placement with alignment/blocking fails for section ".ti_catalog_c2800_initF2837x_begin" size 0x0 page 1
    
     undefined                                   first referenced                                                                                                                                                
      symbol                                         in file                                                                                                                                                     
     ---------                                   ----------------                                                                                                                                                
     ___xdc__init                                Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _flash_get_parameter                        ./cas.obj                                                                                                                                                       
     _i2c_initialize                             ./ti_utilities.obj                                                                                                                                              
     _ti_catalog_c2800_initF2837x_Boot_entry                                                                                                                                                                     
     _xdc_runtime_Assert_raise__I                Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Core_assignLabel__I            Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Core_assignParams__I           Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Core_constructObject__I        Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Core_createObject__I           Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Core_deleteObject__I           Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Error_check__E                 Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Error_init__E                  ./ti_utilities.obj                                                                                                                                              
     _xdc_runtime_Error_raiseX__E                Configurations\src\sysbios\sysbios.a28FP<BIOS.obj>                          
     _xdc_runtime_LoggerBuf_Instance_finalize__E Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_Instance_init__E     Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_disable__E           Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_enable__E            Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_getFilterLevel__E    Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_setFilterLevel__E    Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_write0__E            Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_write1__E            Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_write2__E            Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_write4__E            Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_LoggerBuf_write8__E            Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Memory_alloc__E                Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Memory_free__E                 Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_System_atexit__E               Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_System_exit__E                 Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_System_flush__E                ./ti_utilities.obj                                                                                                                                              
     _xdc_runtime_System_printf_va__F            Unit_Test\Debug\configPkg\package\cfg\_external_p28FP.o28FP
     _xdc_runtime_Timestamp_get32__E             ./ti_utilities.obj                                                                                                                                              
     _xdc_runtime_Timestamp_getFreq__E           ./ti_utilities.obj                                                                                                                                              
    
    error #10234-D: unresolved symbols remain
    
    error #10010: errors encountered during linking; "Unit_Test.out" not built
    gmake: *** [Unit_Test.out] Error 1
    gmake: Target `all' not remade because of errors.
    >> Compilation failure
    
    **** Build Finished ****
    

  • Matthew,

    The TI-RTOS/XDCTools components used here are pretty old, but I just wanted to ensure that the versions you are using here are the same as the ones previously used to successfully build the project. That would be key to getting the same outcome. Build issues can occur if there is incompatibility between version of CCS, TI-RTOS/SYSBIOS and XDCTools. 

    Having said that I found a couple of threads (here and here) where this error has come up before, but we have never been able to reproduce it at TI hence never got to the root cause.

    The lines with those incorrect paths (incorrect ".libraries" folder instead of "lib" folder) are in the /configPkg/linker.cmd (which is auto-generated during build).  For the other users the correct paths were generated after they deleted the ".libraries" file that is within those referenced folders, which in your case would be:
    C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\catalog\c2800\init and
    C:\TI\tirtos_c2000_2_12_01_33\products\bios_6_41_04_54\packages\ti\targets\rts2800

    Could you give that a try and see if it helps?

    As mentioned in the other threads, we're not sure why the .libraries file is causing a conflict only in certain environments as we've had thousands of users not have an issue with it. In fact I see the file in several of my TI-RTOS installations and I've never had an error like this during build. But hopefully the workaround will get you going.