Yocto 无法在TI am335x上配置alsa utils

Yocto 无法在TI am335x上配置alsa utils,yocto,Yocto,我目前正在尝试使用Yocto为TI AM335x构建一个嵌入式linux映像 我从git://git.yoctoproject.org/meta-ti我的目标是机器am335x evm的图像图像核心基础 不幸的是,我在配方alsa-utils\u 1.0.28的do\u configure阶段出错。bb: 错误:任务2030 (/home/morix/devel/yocto/poky/meta/recipes multimedia/alsa/alsa-utils_1.0.28.bb, do_配置

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

我从
git://git.yoctoproject.org/meta-ti
我的目标是机器
am335x evm
的图像
图像核心基础

不幸的是,我在配方
alsa-utils\u 1.0.28的
do\u configure
阶段出错。bb

错误:任务2030 (/home/morix/devel/yocto/poky/meta/recipes multimedia/alsa/alsa-utils_1.0.28.bb, do_配置)失败,退出代码为“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
是否包含在图像中。。。是的!那么,怎么了?

我也有同样的问题。 这个变通方法对我很有效:

bitbake alsa-tools -c cleansstate +

bitbake ncurses -c cleansstate +

bitbake alsa-tools +

bitbake myImage
祝你好运。

这一问题通过将合并为1.7解决

在此之前,您还可以使用bpappend: (食谱核心/课程/课程5.9.bb附加)


我也打过这个,为sama5d3xek而建。我挖得更深了一点,在
do_configure_prepend() {
        # The --enable-pc-files requires PKG_CONFIG_LIBDIR existed
        mkdir -p ${PKG_CONFIG_LIBDIR}
}