3

我目前正在尝试使用 Yocto 为 TI AM335x 构建嵌入式 linux 映像。

我从那里下载了meta-ti图层git://git.yoctoproject.org/meta-ti,我的目标是image-core-base机器的图像am335x-evm

do_configure不幸的是,我在配方阶段遇到错误alsa-utils_1.0.28.bb

错误:任务 2030(/home/morix/devel/yocto/poky/meta/recipes-multimedia/alsa/alsa-utils_1.0.28.bb,do_configure)失败,退出代码为“1”

查看详细日志(您可以在此处查看),我发现以下错误:

[...]
checking form.h presence... yes
checking for form.h... yes
checking for new_panel in -lpanelw... no
configure: error: panelw library not found
Configure failed. The contents of all config.log files follows to aid debugging
[...]

所以问题似乎缺乏panelw......经过一些简短的调查后,我发现它panelw是由ncurses图书馆提供的,我检查了它ncurses是否包含在图像中......它就是!那么,怎么了?

4

2 回答 2

1

我有同样的问题。这种解决方法对我有用:

bitbake alsa-tools -c cleansstate +

bitbake ncurses -c cleansstate +

bitbake alsa-tools +

bitbake myImage

祝你好运。

于 2014-10-11T20:40:51.890 回答
1

这是由http://patchwork.openembedded.org/patch/80727/解决的,它将在 1.7 中合并。

在此之前您还可以使用 bpappend:(recipes-core/ncurses/ncurses_5.9.bbappend)

do_configure_prepend() {
        # The --enable-pc-files requires PKG_CONFIG_LIBDIR existed
        mkdir -p ${PKG_CONFIG_LIBDIR}
}
于 2014-10-14T21:52:36.957 回答