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.

[参考译文] 编译器/TCI6636K2H:如何在6636k2h 平台上的 Linux 中构建 PDK 示例 rmServer.out

Guru**** 2551110 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/565061/compiler-tci6636k2h-how-to-build-pdk-example-rmserver-out-in-linux-on-6636k2h-platform

器件型号:TCI6636K2H

工具/软件:TI C/C++编译器

您好!

我正在构建 PDK。 我遇到以下错误:

‘/opt/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld:找不到-ldaemon

collect2:错误:LD 返回1退出状态’

如何解决此问题?

谢谢、

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

    我已将此内容转发给 Linux 专家。 他们的反馈应发布在此处。

    BR
    Tsvetolin Shulev

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

    rmServer 依赖于 IPC 和 libdaemon。

    由于 PDK 位于 RTOS SDK 中、而不是 Linux SDK 中、但可执行文件存在于 Linux 文件系统中、因此它是使用 Yocto 构建的。 请参阅 processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK 中的 Yocto 构建说明

    您可以构建 rm-LLD 目标、而不是构建整个 SDK 版本。
    $ MACHINE=k2hk EVM bitbake rm-LLD

    可执行文件位于中 /build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/rm-lld/02.02.00.02-r1.0/image/usr/bin/rmServer.out

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

    尊敬的 Rex:

    我们还将按照上述链接进行操作并构建 SDK

    但面对一些问题、您能帮我们解决。

    MACHINE=k2hk EVM bitbake rm-LLD

    警告:RM-LLD-02.02.00.02-R1.0 DO 封装_QA:QA 问题:RM-LLD:/rm-lld-test/usr/bin/ti/drv/rm/test/dts_files/static-policy.dtb 由 uid 1000拥有、这与运行 bitbake 的用户相同。 这可能是由主机污染造成的

    MACHINE=k2hk-EVM bitbake rm-LLD-RTOS

    错误:RM-LLD-RTOS-02.02.00.02-R1.0 DO 编译:函数失败:DO 编译(日志文件位于/home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.7691上)
    错误:故障日志文件存储在:/home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.7691中

    日志数据如下:
    |调试:执行 shell 函数 DO 编译
    |/home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/run.do_compile.7691:215:[:1:意外操作符
    |制造:***没有规则使目标“重新租赁”。 停下。
    |警告:从 shell 命令中退出代码2。
    |错误:函数失败:DO 编译(日志文件位于/home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.7691)
    错误:任务7 (/home/swadhin/work/videocard/tisdk/sources/meta-ti/recipes-bsp/rm-lld/rm-lld-rtos_git.bb、DO 编译)失败、退出代码为"1"

    谢谢、

    Swadhin

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

    RM-LLD-RTOS 不是要构建的正确目标。 您不能从 rm-LLD 中获取 rmServer.out 吗?

    雷克斯
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 Rex:
    是的、我通过构建获得了 rmServer.out
    MACHINE=k2hk EVM bitbake rm-LLD

    但是、在构建 Arago-core-tisdk-image 或 gstreamer1.0-plugins-dsp66或任何其他软件包时、我遇到此错误


    错误:RM-LLD-RTOS-02.02.00.02-R1.0 DO 编译:函数失败:DO 编译(日志文件位于/home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.8344上)
    错误:故障日志文件存储在:/home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.8344中
    日志数据如下:
    |调试:执行 shell 函数 DO 编译
    |/home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/run.do_compile.8344:215:[:1:意外操作符
    |制造:***没有规则使目标“重新租赁”。 停下。
    |警告:从 shell 命令中退出代码2。
    |错误:函数失败:DO 编译(日志文件位于/home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.8344)
    错误:任务7484 (/home/swadhin/work/videocard/tisdk/sources/meta-ti/recipes-bsp/rm-lld/rm-lld-rtos_git.bb、DO 编译)失败、退出代码为"1"




    您可以建议如何解决此问题吗?

    BR、
    Swadhin