我在Ubuntu 14.04上有一个很棒的设置。我在这里有以下几层:
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "apalis-imx6"
DISTRO = "poky"
DISTRO_VERSION = "2.2.3"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "morty:a3765887d3efa4c464ef7a00450f218ae2b15eb2"
meta-toradex-nxp = "morty:c4f34b34bf34f44b974a7add623cafff17d880ad"
meta-toradex-bsp-common = "morty:bb3fafea5a3094909c8d7fb3216c37210fcfc339"
meta-freescale = "morty:05681fdf8298bb441c15135eae424c7601b07e98"
meta-freescale-3rdparty = "morty:e55167c3c2770c07a475342f99cc2a3a23fbfa0c"
oe-meta-go = "master:0712320950adf810fb324d49fba5d49ae19981b0"
meta-toradex-tegra = "morty:8deaad62384fbe4f4079f62bb7fdfa70ef199236"
当我运行bitbake core-image-minimal时,我得到:
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: m4-native-1.4.17-r0 do_compile: oe_runmake failed
ERROR: m4-native-1.4.17-r0 do_compile: Function failed: do_compile (log file is located at /home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/temp/log.do_compile.11055)
ERROR: Logfile of failure stored in: /home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/temp/log.do_compile.11055
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 infodir=/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/share/info
| ERROR: oe_runmake failed
| make all-recursive
| make[1]: Entering directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build'
| Making all in .
| make[2]: Entering directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build'
| make[2]: Nothing to be done for `all-am'.
| make[2]: Leaving directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build'
| Making all in examples
| make[2]: Entering directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/examples'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/examples'
| Making all in lib
| make[2]: Entering directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/lib'
| make all-am
| make[3]: Entering directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/lib'
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o clean-temp.o ../../m4-1.4.17/lib/clean-temp.c
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o basename-lgpl.o ../../m4-1.4.17/lib/basename-lgpl.c
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o stripslash.o ../../m4-1.4.17/lib/stripslash.c
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o execute.o ../../m4-1.4.17/lib/execute.c
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o exitfail.o ../../m4-1.4.17/lib/exitfail.c
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o fatal-signal.o ../../m4-1.4.17/lib/fatal-signal.c
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o fd-hook.o ../../m4-1.4.17/lib/fd-hook.c
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o fd-safer-flag.o ../../m4-1.4.17/lib/fd-safer-flag.c
| In file included from /usr/include/stdlib.h:959:0,
| from ./stdlib.h:36,
| from ../../m4-1.4.17/lib/clean-temp.c:29:
| /usr/include/x86_64-linux-gnu/bits/stdlib.h: In function ‘wctomb’:
| /usr/include/x86_64-linux-gnu/bits/stdlib.h:90:3: error: #error "Assumed value of MB_LEN_MAX wrong"
| # error "Assumed value of MB_LEN_MAX wrong"
| ^
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o dup-safer-flag.o ../../m4-1.4.17/lib/dup-safer-flag.c
| gcc -std=gnu99 -I. -I../../m4-1.4.17/lib -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/rama/repositories/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o filenamecat.o ../../m4-1.4.17/lib/filenamecat.c
| make[3]: *** [clean-temp.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[3]: Leaving directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/lib'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/lib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build'
| make: *** [all] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/rama/repositories/poky/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/temp/log.do_compile.11055)
ERROR: Task (/home/rama/repositories/poky/meta/recipes-devtools/m4/m4-native_1.4.17.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 161 tasks of which 153 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/rama/repositories/poky/meta/recipes-devtools/m4/m4-native_1.4.17.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
比特停止了。 除了oe-meta-go之外,我的所有图层都是笨拙的。 我还有一个问题,它试图下载一些东西,然后卡住一段时间,然后停止bitbaking。任何帮助表示赞赏。 谢谢!