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.

CCS6.1.1编译工程错误::#10008-D cannot find

Other Parts Discussed in Thread: SYSBIOS, TCI6638K2K

在CCS6.1.1的集成开发环境下编译工程出现如下错误:#10008-D cannot find,


定位到时cmd文件这几行代码报错:
aetlib.l66_elf (.text .fardata .far .const .switch)
ipc.ae66 (.text .const .far .fardata .switch)
sysbios.ae66 (.text .const .far .fardata .switch)
tietb.c66ak2hxx_c66x_elf.lib (.text .fardata .far .const .switch)


工程包含了一下头文件路径
"C:\ti\ctoolslib_1_1_1_0\packages\ti"
"C:\ti\ctoolslib_1_1_1_0\packages"


使用的环境是CCS6.1.1,芯片是TCI6638K2K。

求助,帮忙解决该问题,非常感谢!

  • Hi wei pan10,

    Can you please post your question in English language ?
    (you can make use of google translate)

    I presume that you are facing some build issue, can you please provide the log ?
  • Soory,
    I use CCS6.1.1 to compile project,there is some error: #10008-D cannot find.
    -------------------------------------------------------------------------------------------
    Following is error content in console window:
    "../LTE_UE_core_phy_dedicated_rx.cmd", line 118: error #10008-D: cannot find
    file "aetlib.l66_elf"
    "../LTE_UE_core_phy_dedicated_rx.cmd", line 130: error #10008-D: cannot find
    file "ipc.ae66"
    "../LTE_UE_core_phy_dedicated_rx.cmd", line 131: error #10008-D: cannot find
    file "sysbios.ae66"
    "../LTE_UE_core_phy_dedicated_rx.cmd", line 132: error #10008-D: cannot find
    file "tietb.c66ak2hxx_c66x_elf.lib"
    "../LTE_UE_core_phy_dedicated_rx.cmd", line 124: warning #10068-D: no matching section
    error #10010: errors encountered during linking; "LTE_UE_core_phy_dedicated_rx.out" not built
    >> Compilation failure
    gmake: *** [LTE_UE_core_phy_dedicated_rx.out] Error 1
    gmake: Target `all' not remade because of errors.**** Build Finished ****
    -------------------------------------------------------------------------------------------
    Following is interrelated content in cmd file:
    aetlib.l66_elf (.text .fardata .far .const .switch)
    ipc.ae66 (.text .const .far .fardata .switch)
    sysbios.ae66 (.text .const .far .fardata .switch)
    tietb.c66ak2hxx_c66x_elf.lib (.text .fardata .far .const .switch)
    -------------------------------------------------------------------------------------------
    Prj include path:"C:\ti\ctoolslib_1_1_1_0\packages\ti"
    "C:\ti\ctoolslib_1_1_1_0\packages"
    -------------------------------------------------------------------------------------------
    environment : CCS6.1.1,device is TCI6638K2K,
    -------------------------------------------------------------------------------------------
    please give some suggestions, thank you.Best Regards
  • Are you building TI provided examples from SDK? If Yes, Please point us to the SDK version and example?

    Thank you.
  • Wei,

    I don`t have the version of Ctoolslib that you are using but I do see those libraries as part of the ctoolslib_2_1_0_0 package. The missing libraries and their path are specified below:

    • aetlib.l66_elf.lib :    ctoolslib_2_1_0_0\packages\ti\aet\lib
    • ipc.ae66 :              ipc_3_41_00_08\packages\ti\sdo\ipc\lib\ipc
    • sysbios.ae66    :   ctoolslib_2_1_0_0\packages\ti\aet\examples\interrupt_on_stall\src\sysbios
    • tietb.c66ak2hxx_c66x_elf.lib : ctoolslib_2_1_0_0\packages\ti\aet\examples\interrupt_on_stall\src\sysbios

    In order to build the CCS project. You can add the directory path to these libraries to the linker directory search path or in the linker command file add the path along with the libraries being linked into your project.

    Regards,

    Rahul

  • Dear Wei pan,
    Rahul is correct.
    You can find the CTOOLS libraries & IPC and SYSBIOS libraries in the following path.
    C:\ti\ctoolslib_1_1_1_0\packages\ti\ETBLib\lib\tietb_d.c66ak2hxx_c66x_elf.lib
    C:\ti\ctoolslib_1_1_1_0\packages\ti\aet\lib\aetlib.l66_elf
    C:\ti\ipc_3_41_00_08\packages\ti\sdo\ipc\lib\ipc\instrumented\ipc.ae66
    C:\ti\bios_6_35_04_50\packages\ti\sysbios\lib\sysbios\instrumented\sysbios.ae66

    Can you please attach the "LTE_UE_core_phy_dedicated_rx.cmd" ?
    You have to include the exact location of libraries in *.cmd file.
  • Hi,Firstly,Thanks for your answers.It's also the same errors.
    line 120: error #10008-D: cannot find file "aetlib.l66_elf"
    line 132: error #10008-D: cannot find file "ipc.ae66"
    line 133: error #10008-D: cannot find file "sysbios.ae66"
    line 134: error #10008-D: cannot find file "tietb.c66ak2hxx_c66x_elf.lib"
    error #10010: errors encountered during linking; "LTE_UE_core_phy_cell_rx.out" not built
    ------------------------------------------------------------------------------
    I added the following directory path in my CCS project:
    C:\ti\ctoolslib_2_1_0_0\packages\ti\aet\lib
    C:\ti\ipc_3_35_01_07\packages\ti\sdo\ipc\lib\ipc\instrumented
    C:\ti\ctoolslib_1_1_1_0\packages\ti\ETBLib\lib
    C:\ti\ctoolslib_1_1_1_0\packages\ti\aet\examples\interrupt_on_stall\src\sysbios
    --------------------------------------------------------------------------------
    Please give me some suggestions, I expect to your answers.Best Regards,wei pan10
  • I have requested you to add the library in linker command file or else remove those entry from *.cmd file (linker command) if you added the libraries in CCS project.

    Can you please attach the "LTE_UE_core_phy_dedicated_rx.cmd" ?
  • Dear Titusrathinaraj Stalin,
    Thanks for your answer.

    We can find all the lib files in the directory you mentioned in our ctools version

    Now we have added the library in linker command file and used CCS build.

    errors still occured as following

    error #10008-D: cannot find file "aetlib.l66_elf"
    error #10008-D: cannot find file "ipc.ae66"
    error #10008-D: cannot find file "sysbios.ae66"
    error #10008-D: cannot find file "tietb.c66ak2hxx_c66x_elf.lib"
    error #10010: errors encountered during linking; "aa.out" not built.

    ------------------------------------------------------------------------------------
    The content of this cmd file as following:
    SECTIONS
    {
    .ti_slow_code load > DDR_C_CODE_T10
    {
    *(*:ti_sysbios_*)
    *(*:ti_sdo_*)
    *(*:xdc_runtime_*)

    rts6600*.lib (.text)
    aetlib.l66_elf (.text .fardata .far .const .switch)
    ti.csl.* (.text .const .far .fardata .switch)
    ti.intrumentation.* (.text .const .far .fardata .switch)
    ti.targets.* (.text .const .far .fardata .switch)
    ti.ipc.* (.text .const .far .fardata .switch)
    ti.drv.* (.text .const .far .fardata .switch)
    ti.runtime.* (.text .const .far .fardata .switch)
    ipc.ae66 (.text .const .far .fardata .switch)
    sysbios.ae66 (.text .const .far .fardata .switch)
    tietb.c66ak2hxx_c66x_elf.lib (.text .fardata .far .const .switch)
    }
    }

    could you please teach us how to add these libraries in cmd file?
    additionally ,if we add these libraries in cmd file, need we add the path in ccs environment?

    thank you

    Best Regards,
    wei pan10
  • Hi Wei pan10,

    Please refer the section "Adding Libraries - Proper Include" below wiki on how to include libraries to the project,

    Thank you.

  • Thank you for your help.

     

    We ask local FAE  Andy for help and solve the problem. Following Andy's suggestion, we add the following content in *.cmd file:

     

    -l "C:/ti/ctoolslib_1_1_1_0/packages/ti/aet/lib/aetlib.l66_elf"
    -l "C:/ti/ctoolslib_1_1_1_0/packages/ti/ETBLib/lib/tietb.c66ak2hxx_c66x_elf.lib"
    -l "D:\CCS_workspace\DSP_Test\src\sysbios\sysbios.ae66"
    -l "C:/ti/ipc_3_35_01_07/packages/ti/sdo/ipc/lib/ipc/instrumented/ipc.ae66"

     

    Now the prj build success.

     

  • Thank you for the update.