简体   繁体   中英

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

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

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. 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.

It seems you are building an old release (1.8), its important that a tested distribution is used on build host. There are here Please make sure that your host distro is among the one in this list

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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