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.

[参考译文] AM3358:构建 tisdk-tinlinux-image 时出错

Guru**** 2540720 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1390682/am3358-errors-building-tisdk-thinlinux-image

器件型号:AM3358

工具与软件:

您好!  

我正在尝试从 Arago 构建目标"tisdk-tinlinux-image"。 我有两个错误,但一个巨大的构建日志,它真的不可能检测出什么出错。 日志的最后一位像这样。

| expression.cc:(.text+0x1c5): undefined reference to `gold::Layout::expected_segment_count() const'
| collect2: error: ld returned 1 exit status
| Makefile:1021: recipe for target 'ld-new' failed
| make[4]: Leaving directory '/home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/git/build.x86_64-linux.arm-oe-linux-gnueabi/gold'
| make[4]: *** [ld-new] Error 1
| Makefile:1158: recipe for target 'all-recursive' failed
| make[3]: Leaving directory '/home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/git/build.x86_64-linux.arm-oe-linux-gnueabi/gold'
| make[3]: *** [all-recursive] Error 1
| Makefile:898: recipe for target 'all' failed
| make[2]: Leaving directory '/home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/git/build.x86_64-linux.arm-oe-linux-gnueabi/gold'
| make[2]: *** [all] Error 2
| Makefile:6843: recipe for target 'all-gold' failed
| make[1]: *** [all-gold] Error 2
| make[1]: Leaving directory '/home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/git/build.x86_64-linux.arm-oe-linux-gnueabi'
| Makefile:999: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/temp/run.do_compile.3862:189 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| 	#1: bbfatal_log, /home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/temp/run.do_compile.3862, line 189
| 	#2: die, /home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/temp/run.do_compile.3862, line 173
| 	#3: oe_runmake, /home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/temp/run.do_compile.3862, line 168
| 	#4: autotools_do_compile, /home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/temp/run.do_compile.3862, line 163
| 	#5: do_compile, /home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/temp/run.do_compile.3862, line 158
| 	#6: main, /home/kaushalya/tisdk/build/arago-tmp-default-glibc/work/x86_64-linux/binutils-cross-arm/2.38-r0/temp/run.do_compile.3862, line 202
ERROR: Task (/home/kaushalya/tisdk/sources/oe-core/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1799 tasks of which 1798 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 4 seconds

我可以看到"文件:6843:目标"全金"的食谱失败了"。 这个目标是什么? 什么地方可能会出错?

谢谢!

Kaushalya.