简体   繁体   English

任务 415 (virtual:native:/home/user/Yocto/Poky/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile) 失败,退出代码为“1”

[英]Task 415 (virtual:native:/home/user/Yocto/Poky/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile) failed with exit code '1'

I'm trying to build an image with yocto, I did everything according instructions from https://www.yoctoproject.org/docs/1.8/yocto-project-qs/yocto-project-qs.html我正在尝试使用 yocto 构建图像,我按照https://www.yoctoproject.org/docs/1.8/yocto-project-qs/yocto-project-qs.html 的说明进行了所有操作

I've already done the pre-configuration我已经完成了预配置

 $ git clone http://git.yoctoproject.org/git/poky
 $ cd poky
 $ git checkout -b fido origin/fido
 $ source oe-init-build-env

and I get the following errors when running : bitbake -k core-image-sato运行时出现以下错误: bitbake -k core-image-sato

ERROR: Function failed: do_compile (log file is located at 
/home/user/Yocto/Poky/poky/build/tmp/work/x86_64-linux/automake- 
native/1.15-r0/temp/log.do_compile.2660)
ERROR: Logfile of failure stored in: 
/home/user/Yocto/Poky/poky/build/tmp/work/x86_64-linux/automake- 
native/1.15-r0/temp/log.do_compile.2660
ERROR: Task 415 
(virtual:native:/home/user/Yocto/Poky/poky/meta/recipes- 
devtools/automake/automake_1.15.bb, do_compile) failed with exit code '1'

Does anyone know how to fix it?有谁知道如何修理它?

Unless there is a particular reason, you want to use fido I will recommend using the more recent releases like sumo or rocko at least.除非有特殊原因,否则您想使用 fido,我会建议至少使用较新的版本,例如 sumo 或 rocko。 You might also want to take a look at something like yoe-distro which also allows to build in a Docker environment and thus not requiring a downgrade of OS to something which Yocto/OpenEmbedded might require.您可能还想看看yoe-distro 之类的东西,它也允许在 Docker 环境中构建,因此不需要将操作系统降级到 Yocto/OpenEmbedded 可能需要的东西。

It seems you are building an old release (1.8), its important that a tested distribution is used on build host.您似乎正在构建一个旧版本 (1.8),在构建主机上使用经过测试的发行版很重要。 There are here Please make sure that your host distro is among the one in this list还有这里请确保您的主机的发行是一个在此列表中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM