gpt4 book ai didi

linux - 定制 Linux 发行版(构建单声道)- aclocal 失败

转载 作者:太空宇宙 更新时间:2023-11-04 05:21:35 25 4
gpt4 key购买 nike

我正在开发自定义 Linux 发行版,问题始于 this question 。我已经克服了这个问题,但是,当我运行 bitbake core-image-minimal 时,我收到以下错误:

Loading cache: 100% |##############################################################################################################| ETA:  00:00:00
Loaded 2402 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Debian-8.6"
TARGET_SYS = "powerpc-fsl-linux-gnuspe"
MACHINE = "p2020rdb"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "1.9"
TUNE_FEATURES = "m32 spe ppce500v2"
TARGET_FPU = "ppc-efd"
meta
meta-yocto
meta-yocto-bsp = "(detachedfromb74ea96):ddf114933ccfc6e3ce51a10e8e8f95e514b73578"
meta-freescale = "(detachedfrom7fb32a2):7fb32a20983a0ebd5503eb42e851550b0deb8679"
meta-freescale-internal = "(detachedfrom220bff8):220bff8b2030e5af7393b5870d74c6f0af0d76d1"
meta-freescale-extra = "(nobranch):ced26c806cb566b1400a2f4f26a94d8d44d13233"
meta-mono = "daisy:f01b4f7a98d07abcf4c1f845c057199e112fb7d6"
meta-networking
meta-python
toolchain-layer
meta-oe = "(nobranch):214e1801d0efc38d3b6142bdc0d8e58ca593e34c"
meta-linaro-toolchain = "(nobranch):3f1933242062d1cf473d20b86fa4582963ff9441"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/temp/log.do_configure.7236)
ERROR: Logfile of failure stored in: /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/temp/log.do_configure.7236
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| grep: configure.in: No such file or directory
| /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/mono-3.4.0/autogen.sh: line 125: mono/mini/Makefile.am: No such file or directory
| /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/mono-3.4.0/autogen.sh: line 126: mono/metadata/Makefile.am: No such file or directory
| Running aclocal -I m4 -I . ...
| aclocal: error: 'configure.ac' is required
|
| **Error**: aclocal failed. This may mean that you have not
| installed all of the packages you need, or you may need to
| set ACLOCAL_FLAGS to include "-I $prefix/share/aclocal"
| for the prefix where you installed the packages whose
| macros were not found
| NOTE: mono-native failed to autogen.sh
| sed: can't read acinclude.m4: No such file or directory
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/temp/log.do_configure.7236)
ERROR: Task 735 (/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-mono/recipes-mono/mono/mono-native_3.4.0.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1872 tasks of which 1871 didn't need to be rerun and 1 failed.
No currently running tasks (1240 of 1887)

Summary: 1 task failed:
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-mono/recipes-mono/mono/mono-native_3.4.0.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

我正在尝试集成mono进入自定义图像,我不知道现在出了什么问题。我进入目录 ~/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/mono-3.4.0 并手动运行 autogen.sh ,它顺利完成。

最佳答案

我已将下载的 mono 版本更改为 master 分支(版本 4.8.0),重建时没有出现任何问题。

关于linux - 定制 Linux 发行版(构建单声道)- aclocal 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41265344/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com