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.

[参考译文] AM625-Q1:SDK 10.1上 am62xx 的 Yocto 构建失败

Guru**** 2466550 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1466823/am625-q1-yocto-build-fail-for-am62xx-on-sdk-10-1

器件型号:AM625-Q1

工具与软件:

尊敬的专家:

我正在尝试使用 Yocto 构建 Overview_Building_、我遵循了以下命令:https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/10_01_10_04/exports/docs/linux/vak_sdk.html#builing-the-sdk-with-Yocto

但我在三个任务上失败了:

| /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.3.0/ld: libavcodec/libavcodec.so: undefined reference to `ff_texturedsp_init'
| /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.3.0/ld: libavcodec/libavcodec.so: undefined reference to `ff_avg_qpel8_mc32_old_c'
| /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.3.0/ld: libavcodec/libavcodec.so: undefined reference to `ff_texturedspenc_init'
| /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.3.0/ld: libavcodec/libavcodec.so: undefined reference to `ff_put_no_rnd_qpel16_mc32_old_c'
| /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.3.0/ld: libavcodec/libavcodec.so: undefined reference to `ff_put_no_rnd_qpel16_mc33_old_c'
| /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.3.0/ld: libavcodec/libavcodec.so: undefined reference to `ff_avg_qpel16_mc32_old_c'
| /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.3.0/ld: libavcodec/libavcodec.so: undefined reference to `ff_avg_dirac_pixels32_l4_c'
| /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.3.0/ld: libavcodec/libavcodec.so: undefined reference to `ff_put_dirac_pixels8_l2_c'
| /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/13.3.0/ld: libavcodec/libavcodec.so: undefined reference to `ff_sheervideo_decoder'
| collect2: error: ld returned 1 exit status
| make: *** [/home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/ffmpeg-6.1.1/Makefile:133: ffmpeg_g] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/temp/run.do_compile.2329683:183 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| 	#1: bbfatal_log, /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/temp/run.do_compile.2329683, line 183
| 	#2: die, /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/temp/run.do_compile.2329683, line 167
| 	#3: oe_runmake, /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/temp/run.do_compile.2329683, line 162
| 	#4: autotools_do_compile, /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/temp/run.do_compile.2329683, line 157
| 	#5: do_compile, /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/temp/run.do_compile.2329683, line 152
| 	#6: main, /home/ht/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ffmpeg/6.1.1/temp/run.do_compile.2329683, line 196
ERROR: Task (/home/ht/yocto/tisdk/sources/oe-core/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 12919 tasks of which 12916 didn't need to be rerun and 3 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 6 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 seconds

Summary: 3 tasks failed:
  /home/ht/yocto/tisdk/sources/oe-core/meta/recipes-devtools/binutils/binutils_2.42.bb:do_compile
  /home/ht/yocto/tisdk/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_configure
  /home/ht/yocto/tisdk/sources/oe-core/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb:do_compile
Summary: There were 6 ERROR messages, returning a non-zero exit code.
我试图删除整个 tisdk 文件夹,并重做了一切,但得到了 thoese 失败一次又一次。  

我使用的是 Ubuntu 22.04。 造成此问题的原因可能是什么?

此致、

Adam