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.

CCS5.5编译syslink example错误



/home/hetb/omapl138/ti/ccsv5/utils/bin/gmake -k all
Building file: ../Dsp.cfg
Invoking: XDCtools
"/home/hetb/omapl138/ti/xdctools_3_25_03_72/xs" --xdcpath="/home/hetb/omapl138/ti/bios_6_35_04_50/packages;/home/hetb/omapl138/ti/ccsv5/ccs_base;/home/hetb/omapl138/ti/syslink_2_21_01_05/packages;/home/hetb/omapl138/ti/ipc_1_25_03_15/packages;/home/hetb/ccsdemo/messageQ/shared;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p hetb.omapl138.messageQ -r debug -b "/home/hetb/ccsdemo/messageQ/shared/hetb/omapl138/messageQ/config.bld" -c "/home/hetb/omapl138/ti/ccsv5/tools/compiler/c6000_7.4.4" --compileOptions "-g --optimize_with_debug" "../Dsp.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring Dsp.xe674 from package/cfg/Dsp_pe674.cfg ...
js: "/home/hetb/omapl138/ti/syslink_2_21_01_05/packages/ti/syslink/ipc/rtos/package.xs", line 85: Error: Library not found: ti.syslink.ipc.rtos.anull
gmake: *** [package/cfg/Dsp_pe674.xdl] Error 1
gmake: *** Deleting file `package/cfg/Dsp_pe674.xdl'
gmake: *** [package/cfg/Dsp_pe674.xdl] Deleting file `package/cfg/Dsp_pe674.h'
gmake: *** [package/cfg/Dsp_pe674.xdl] Deleting file `package/cfg/Dsp_pe674.c'
js: "/home/hetb/omapl138/ti/xdctools_3_25_03_72/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.

用CCS5.5编译ex01_helloworld,出现以上错误,

  • line 85: Error: Library not found: ti.syslink.ipc.rtos.anull

  • 跟这个贴子的问题一样,一个是syslink要编译,另一个可能是编译器的版本问题。

    https://e2e.ti.com/support/embedded/int-embedded_software/int-linux/f/118/t/92778

  • 你好,我没有权限看这个帖子

  • 我贴过来吧:

    I am working on dm816x sdk ea1.3 (SDK 5.00.00.08) for Netra, now I am having a problem when build the codec engine examples:

    After followed the build instruction to change the xdcpaths.mak, it is ok to build the codecs (codec_engine/examples/ti/sdo/ce/examples/codecs), but it failed to build the server (codec_engine/examples/ti/sdo/ce/examples/server). The error message is:

    js: "/opt/devroot/repos/omons-3rdparty/ti/netra/sdk/branches/05_00_00_08_pre-alpha1/extern/syslink/ti/syslink/ipc/rtos/package.xs", line 96: Error: Library not found: ti.syslink.ipc.rtos.anull
    gmake[1]: *** [package/cfg/bin/ti_platforms_evmTI816X/all_DSP_xe674.c] Error 1
    gmake[1]: *** Deleting file `package/cfg/bin/ti_platforms_evmTI816X/all_DSP_xe674.c'
    gmake[1]: *** [package/cfg/bin/ti_platforms_evmTI816X/all_DSP_xe674.c] Deleting file `package/cfg/bin/ti_platforms_evmTI816X/all_DSP_xe674.xdl'
    gmake[1]: *** [package/cfg/bin/ti_platforms_evmTI816X/all_DSP_xe674.c] Deleting file `package/cfg/bin/ti_platforms_evmTI816X/all_DSP_xe674.h'
    gmake: *** [.,.executables] Error 2
    make[1]: *** [all] Error 2

    Before this erros, I noticed there were many warnings like:

    Warning: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: current target 'ti.targets.elf.C674' [1,0,7.0,3] is not compatible with targets used to build the following packages; package ti.targets.rts6000 [in /opt/devroot/repos/omons-3rdparty/ti/netra/sdk/branches/05_00_00_08_pre-alpha1/extern/xdc/packages/ti/targets/rts6000/] was built using 'ti.targets.elf.C674' [1,0,7.1,0,2]
    ; package ti.sdo.ce.osal [in /opt/devroot/repos/omons-3rdparty/ti/netra/sdk/branches/05_00_00_08_pre-alpha1/extern/codec_engine/packages/ti/sdo/ce/osal/] was built using 'ti.targets.elf.C674' [1,0,7.2,0,10232]

    So, I am not sure if the above warnings and errors are caused by the c6x tool version.

    Any suggestions are appreciated!

    [answer]

    Seems like 2 issues.  The first is that it seems like SysLink isn't built.  The error about "Library not found" hints at that.

    The second issue seems to be a compatibility issue between the C6x toolchain you're using (7.0.<something>?) and the version the rest of the system was built with (7.1.<something> in the ti.targets.rts6000 case and 7.2.<something> in the case of ti.sdo.ce.osal).  You might check the SDK release notes for the appropriate version of C6000 toolchain - I'm betting it's 7.2.<something>.

  • 非常感谢,已经解决了,我换成CCS5.1版本的可以编译通过。