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/PROCESSOR-SDK-AM335X:尝试在 Linux 上构建处理器 SDK 时出错

Guru**** 2614265 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/582059/linux-processor-sdk-am335x-error-when-i-try-to-build-the-processor-sdk-on-linux

器件型号:PROCESSOR-SDK-AM335X

工具/软件:Linux

您好!

我按照本指南构建处理器 SDK:

processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK




我已经完成了以下工作:

1) 1)主机设置

2) 2)安装交叉编译工具链

3) 3)我没有安装 CCS6、但安装了 CCS7、并且我没有将 tar 包复制到 tisdk/下载 (我认为这不重要、也不重要?)

4) git 克隆成功、并开始构建、因为我使用的是 beagleboneback、所以我的 bitbake 命令是 " MACHINE=AM335x-EVM bitbake Arago-core-tisdk-image"


经过长时间的处理后、出现错误:

------------------

错误:gdb-linaro-7.8-r2014.09.arago0 DO _fetch:fetcher 故障:fetch 命令失败、退出代码8、输出:
releases.linaro.org/.../gdb-linaro-7.8-2014.09.tar.xz:
2017-03-17 04:32:26错误404:未找到。

错误:gdb-linaro-7.8-r2014.09.arago0 DO-fetch:函数失败:URL 的 fetcher 失败:'releases.linaro.org/.../gdb-linaro-7.8-2014.09.tar.xz'。 无法从任何源获取 URL。
错误:故障日志文件存储在:/home/jamie/sda4/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gdb/linaro-7.8-r2014.09.arago0/temp/log.do_fetch.18226中
错误:任务3634 (/home/jamie/sda4/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/gdb/gdb_linaro-7.8.bb、DO 获取)失败、退出代码为"1"
------------------

日志文件中出现错误:
----------------
(笑声)
CMakeFiles/libmysqld.dir/libmysqld_exports 文件.cc.o:(.data.rel+0x98):未`m对 ysql_hex_string'的引用
CMakeFiles/libmysqld.dir/libmysqld_exports 文件.cc.o:(.data.rel+0xa0):未`m对 ysql_stmt_execute'的引用
CMakeFiles/libmysqld.dir/libmysqld_exports 文件.cc.o:(.data.rel+0xa8):未`m对 ysql_stmt_fetch 的引用
(笑声)
collect2:错误:LD 返回1退出状态
make[2]:***[libmysqld/libmysqld.so.18]错误1.
make[2]:离开目录`/home/jamie/sda4/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/mariadb-native/5.5.50-r0/build
make[1]:***[libmysqld/CMakeFiles\libmysqld.dir/all]错误2.
make[1]:离开目录`/home/jamie/sda4/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/mariadb-native/5.5.50-r0/build
Make:***[All]错误2.
错误:OE_runmake 失败
----------------

我附上完整的错误日志文件 here.e2e.ti.com/.../3660.log.do_5F00_compile.zip

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

    请检查此主题:
    e2e.ti.com/.../563251

    我建议按原样遵循指南。

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

    我遇到了该线程中描述的问题、我已经通过修改.bb 文件中的 URL 来修复它。

    您提醒我、似乎没有人为此项目维护 git 服务器、这对用户来说并不是很好。