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.

[参考译文] Linux:无法构建 syslink 示例

Guru**** 2582405 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/595478/linux-unable-to-build-syslink-examples

Thread 中讨论的其他器件:OMAPL138

工具/软件:Linux

大家好、我已经成功安装了 SDK 文件夹中 DSP-tools 文件夹下指定的所有工具。

并设法获取 make syslink 编译。 使用以下"

"

但我无法构建示例。  

以下是错误消息:

miteshhiran@Ubuntu:~/ti/syslink_2_21_01_05 make 示例
编号
#制作示例...
提取-C 示例
make[1]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples
编号
#解压缩所有示例...
存档:archive/OMAPL138_linux_elf/ex04_sharedregion.zip
创建:ex04_sharedregion/
创建:ex04_sharedregion/DSP/
充气:ex04_sharedregion/DSP/Dsp.cfg
正在充气:ex04_sharedregion/dsp/main_dsp.c
正在充气:ex04_sharedregion/DSP/makefile
正在充气:ex04_sharedregion/dsp/server.c
充气:ex04_sharedregion/DSP/Server.h
正在充气:ex04_sharedregion/makefile
充气:ex04_sharedregion/products.mak
充气:ex04_sharedregion/run.sh
充气:ex04_sharedregion/readme.txt
创建:ex04_sharedregion/shared/
充气:ex04_sharedregion/shared/AppCommon.h
正在充气:ex04_sharedregion/shared/config.bld
充气:ex04_sharedregion/shared/SystemCfg.h
创建:ex04_sharedregion/host/
正在充气:ex04_sharedregion/host/App.c
正在充气:ex04_sharedregion/host/App.h
正在充气:ex04_sharedregion/host/main_host.c
正在充气:ex04_sharedregion/host/makefile
存档:archive/OMAPL138_linux_elf/ex33_umsg.zip
创建:ex33_umsg/
充气:ex33_umsg/Usg.c
充气:ex33_umsg/Umsg.h
充气:ex33_umsg/Umsg.pptx
充气:ex33_umsg/UmsgInternal.h
正在充气:ex33_umsg/Usg_host.c
正在充气:ex33_umsg/Usg_dsp.c
充气:ex33_umsg/dsp.mak
充气:ex33_umsg/host.mak
正在充气:ex33_umsg/makefile
充气:ex33_umsg/products.mak
充气:ex33_umsg/readme.txt
创建:ex33_umsg/linux/
正在充气:ex33_umsg/linux/Makefile
充气:ex33_umsg/linux/UmsgDrvProtocol.h
充气:ex33_umsg/linux/driver.c
充气:ex33_umsg/linux/load_umsg.sh
充气:ex33_umsg/linux/umsg_drv.c
充气:ex33_umsg/linux/umsg_drv.h
正在提取:ex33_umsg/linux/unload_umsg.sh
存档:archive/OMAPL138_linux_elf/ex09_readwrite.zip
正在创建:ex09_readwrite/
创建:ex09_readwrite/dsp/
充气:ex09_readwrite/DSP/Dsp.cfg
正在充气:ex09_readwrite/dsp/main_dsp.c
正在充气:ex09_readwrite/DSP/makefile
正在充气:ex09_readwrite/dsp/server.c
充气:ex09_readwrite/DSP/Server.h
正在充气:ex09_readwrite/makefile
充气:ex09_readwrite/products.mak
正在充气:ex09_readwrite/readme.txt
正在充气:ex09_readwrite/run.sh
正在创建:ex09_readwrite/host/
正在充气:ex09_readwrite/host/App.c
正在充气:ex09_readwrite/host/App.h
正在充气:ex09_readwrite/host/main_host.c
正在充气:ex09_readwrite/host/makefile
创建:ex09_readwrite/shared/
正在充气:ex09_readwrite/shared/config.bld
充气:ex09_readwrite/shared/ServerProtocol.h
存档:archive/OMAPL138_linux_elf/ex08_ringio.zip
创建:ex08_ringio/
创建:ex08_ringio/DSP/
充气:ex08_ringio/DSP/Dsp.cfg
充气:ex08_ringio/dsp/main_dsp.c
正在充气:ex08_ringio/DSP/makefile
充气:ex08_ringio/DSP/Server.c
充气:ex08_ringio/DSP/Server.h
充气:ex08_ringio/makefile
充气:ex08_ringio/products.mak
充气:ex08_ringio/run.sh
充气:ex08_ringio/readme.txt
创建:ex08_ringio/shared/
充气:ex08_ringio/shared/AppCommon.h
充气:ex08_ringio/shared/config.bld
充气:ex08_ringio/shared/SystemCfg.h
创建:ex08_ringio/host/
充气:ex08_ringio/host/App.c
充气:ex08_ringio/host/App.h
充气:ex08_ringio/host/main_host.c
正在充气:ex08_ringio/host/makefile
存档:archive/OMAPL138_linux_elf/ex06_listmp.zip
正在创建:ex06_listmp/
创建:ex06_listmp/DSP/
正在充气:ex06_listmp/DSP/Dsp.cfg
正在充气:ex06_listmp/dsp/main_dsp.c
正在充气:ex06_listmp/DSP/makefile
正在充气:ex06_listmp/dsp/server.c
正在充气:ex06_listmp/DSP/Server.h
正在充气:ex06_listmp/makefile
充气:ex06_listmp/products.mak
充气:ex06_listmp/run.sh
充气:ex06_listmp/readme.txt
创建:ex06_listmp/shared/
充气:ex06_listmp/shared/AppCommon.h
正在充气:ex06_listmp/shared/config.bld
充气:ex06_listmp/shared/SystemCfg.h
正在创建:ex06_listmp/host/
正在充气:ex06_listmp/host/app.c
正在充气:ex06_listmp/host/App.h
正在充气:ex06_listmp/host/main_host.c
正在充气:ex06_listmp/host/makefile
存档:archive/OMAPL138_linux_elf/ex02_messageq.zip
创建:ex02_MessageQ/
创建:ex02_MessageQ/DSP/
充气:ex02_MessageQ/DSP/Dsp.cfg
正在充气:ex02_MessageQ/DSP/main_DSP.c
正在充气:ex02_MessageQ/DSP/makefile
正在充气:ex02_MessageQ/DSP/服务器.c
充气:ex02_MessageQ/DSP/Server.h
正在充气:ex02_MessageQ/makefile
充气:ex02_MessageQ/products.mak
正在充气:ex02_MessageQ/run.sh
正在充气:ex02_MessageQ/readme.txt
创建:ex02_MessageQ/shared/
正在充气:ex02_MessageQ/shared/AppCommon.h
正在充气:ex02_MessageQ/shared/config.Bld
正在充气:ex02_MessageQ/shared/SystemCfg.h
创建:ex02_MessageQ/host/
正在充气:ex02_MessageQ/host/App.c
正在充气:ex02_MessageQ/host/App.h
正在充气:ex02_MessageQ/host/main_host.c
正在充气:ex02_MessageQ/host/makefile
存档:archive/OMAPL138_linux_elf/ex01_helloworld.zip
创建:ex01_helloworld/
创建:ex01_helloworld/DSP/
充气:ex01_helloworld/DSP/Dsp.cfg
充气:ex01_helloworld/dsp/main_dsp.c
充气:ex01_helloworld/DSP/makefile
充气:ex01_helloworld/DSP/Server.c
充气:ex01_helloworld/DSP/Server.h
充气:ex01_helloworld/makefile
充气:ex01_helloworld/products.mak
充气:ex01_helloworld/run.sh
充气:ex01_helloworld/readme.txt
创建:ex01_helloworld/shared/
充气:ex01_helloworld/shared/config.bld
充气:ex01_helloworld/shared/SystemCfg.h
创建:ex01_helloworld/host/
充气:ex01_helloworld/host/App.c
充气:ex01_helloworld/host/App.h
充气:ex01_helloworld/host/main_host.c
充气:ex01_helloworld/host/makefile
存档:archive/OMAPL138_linux_elf/ex05_heapbufmp.zip
创建:ex05_heapbufmp/
创建:ex05_heapbufmp/DSP/
充气:ex05_heapbufmp/DSP/Dsp.cfg
正在充气:ex05_heapbufmp/dsp/main_dsp.c
正在充气:ex05_heapbufmp/DSP/makefile
正在充气:ex05_heapbufmp/dsp/server.c
充气:ex05_heapbufmp/DSP/Server.h
正在充气:ex05_heapbufmp/makefile
充气:ex05_heapbufmp/products.mak
充气:ex05_heapbufmp/run.sh
充气:ex05_heapbufmp/readme.txt
创建:ex05_heapbufmp/shared/
充气:ex05_heapbufmp/shared/AppCommon.h
正在充气:ex05_heapbufmp/shared/config.bld
充气:ex05_heapbufmp/shared/SystemCfg.h
创建:ex05_heapbufmp/host/
充气:ex05_heapbufmp/host/App.c
正在充气:ex05_heapbufmp/host/App.h
正在充气:ex05_heapbufmp/host/main_host.c
正在充气:ex05_heapbufmp/host/makefile
存档:archive/OMAPL138_linux_elf/ex07_gatemp.zip
正在创建:ex07_gatemp/
创建:ex07_gatemp/DSP/
充气:ex07_gatemp/DSP/Dsp.cfg
膨胀:ex07_gatemp/dsp/main_dsp.c
正在充气:ex07_gatemp/DSP/makefile
充气:ex07_gatemp/DSP/Server.c
充气:ex07_gatemp/DSP/Server.h
正在充气:ex07_gatemp/makefile
充气:ex07_gatemp/products.mak
充气:ex07_gatemp/run.sh
充气:ex07_gatemp/readme.txt
创建:ex07_gatemp/shared/
充气:ex07_gatemp/shared/AppCommon.h
正在充气:ex07_gatemp/shared/config.Bld
充气:ex07_gatemp/shared/SystemCfg.h
正在创建:ex07_gatemp/host/
充气:ex07_gatemp/host/App.c
充气:ex07_gatemp/host/App.h
正在充气:ex07_gatemp/host/main_host.c
正在充气:ex07_gatemp/host/makefile
存档:archive/OMAPL138_linux_elf/ex34_radar.zip
创建:ex34_radar/
创建:ex34_radar/DSP/
充气:ex34_radar/DSP/Dsp.cfg
充气:ex34_radar/DSP/main_DSP.c
充气:ex34_radar/DSP/makefile
充气:ex34_radar/DSP/Server.c
充气:ex34_radar/DSP/Server.h
充气:ex34_radar/dbg.sh
充气:ex34_radar/makefile
充气:ex34_radar/products.mak
充气:ex34_radar/readme.txt
充气:ex34_radar/run.sh
创建:ex34_radar/host/
充气:ex34_radar/host/App.c
充气:ex34_radar/host/App.h
充气:ex34_radar/host/main_host.c
正在充气:ex34_radar/host/makefile
创建:ex34_radar/shared/
充气:ex34_radar/shared/AppProtocol.h
充气:ex34_radar/shared/ServerProtocol.h
充气:ex34_radar/shared/config.bld
存档:archive/OMAPL138_linux_elf/ex03_notify.zip
创建:ex03_notife/
创建:ex03_notify/dsp/
正在充气:ex03_notife/DSP/Dsp.cfg
正在充气:ex03_notify/dsp/main_dsp.c
正在充气:ex03_notife/DSP/makefile
正在充气:ex03_notify/dsp/server.c
正在充气:ex03_notife/DSP/Server.h
正在充气:ex03_notify/makefile
充气:ex03_notify/products.mak
充气:ex03_notife/run.sh
充气:ex03_notife/readme.txt
创建:ex03_notify/shared/
充气:ex03_notify/shared/AppCommon.h
正在充气:ex03_notify/shared/config.bld
充气:ex03_notify/shared/SystemCfg.h
创建:ex03_notify/host/
正在充气:ex03_notify/host/App.c
正在充气:ex03_notify/host/App.h
正在充气:ex03_notify/host/main_host.c
正在充气:ex03_notify/host/makefile
make[1]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples
创建所有-C 示例
make[1]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples
编号
#制作所有示例...
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex09_readwrite
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex09_readwrite
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex08_ringio
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex08_ringio
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex06_listmp
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex06_listmp
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex05_heapbufmp
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex05_heapbufmp
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex01_helloworld
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex01_helloworld
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex07_gatemp
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex07_gatemp
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex03_notify
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex03_notify
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex34_radar
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex34_radar
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex02_messageq
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex02_messageq
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex04_sharedregion
products.mak:60:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex04_sharedregion
make[2]:输入目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex33_umsg
products.mak:61:./../products.mak:不是目录
make[2]:***没有规则使目标'./../products.mak。停止。
make[2]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex33_umsg
Makefile:52:目标'all'的配方失败
maked[1]:***[全部]错误2.
make[1]:离开目录'/home/miteshhiran/ti/syslink_2_21_01_05/examples
Makefile:271:目标"示例"的配方失败
制造:***[示例]错误2.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    请查看 syslink 安装指南:
    processors.wiki.ti.com/.../SysLink_Install_Guide

    BR
    玛格丽塔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    玛格丽塔、您好、我一直关注这个链接、当我做示例时、我遇到了这个错误。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我使用的选项有:

    miteshhiran@Ubuntu:~/ti/syslink_2_21_01_05 make .show-products
    返厂维修 =/home/miteshhiran
    器件 = OMAPL1XX
    GPPOS = Linux
    SDK =无
    TI81XXDSP_DMTIMER_FREQ =
    SYSLINK_BUILD_DEBUG = 1
    SYSLINK_BUILD_Optimize = 0
    SYSLINK_TRACE_ENABLE = 1
    加载器 = ELF
    SYSLINK_INSTALL_DIR =/home/miteshhiran/ti/syslink_2_21_01_05
    IPC_INSTALL_DIR =/home/miteshhiran/ti/ipc_1_25_03_15
    BIOS_install_DIR =/home/miteshhiran/ti/bios_6_33_02_31
    XDC_INSTALL_DIR =/home/miteshhiran/ti/xdctools_3_23_01_43
    LINUXKERNEL =/home/miteshhiran/ti/mcsdk_1_01_00_02/board-support/linux-3.3-psp03.22.00.06.sdk
    QNX_INSTALL_DIR =
    CGT_ARM_PREFIX =/home/miteshhiran/ti-sdk-omapl138-lcdk-01.00.00/linux-devkit/bin/arm-arago-linux-gnueabi-
    CGT_C64P_INSTALL_DIR =
    CGT_C64P_ELF_INSTALL_DIR =
    CGT_C674_INSTALL_DIR =
    CGT_C674_ELF_INSTALL_DIR =/home/miteshhiran/ti/TI_CGT_C6000_7.3.3
    CGT_M3_ELF_INSTALL_DIR =
    CGT_A8_ELF_INSTALL_DIR =
    Exec_DIR =/home/miteshhiran/test/syslink


    我不确定"cgt_arm_prefix" 是 arm-no-linux-gnueabi-更改为 arm-arago-linux-gnueabi-
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    大家好,有人能告诉我在哪里找到 arm-none-linux-gnueabi-gcc 吗?
    我已经安装了 SDK、我只有"arm-arago-linux-gnueabi"、我认为构建 syslink 示例需要这种方法。 谢谢。

    此致、
    Mitesh