【问题标题】:Cannot configure alsa-utils on TI am335x无法在 TI am335x 上配置 alsa-utils
【发布时间】:2014-10-15 05:52:36
【问题描述】:

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

我从git://git.yoctoproject.org/meta-ti 下载了meta-ti 层,并将图像image-core-base 定位为机器am335x-evm

不幸的是,我在配方alsa-utils_1.0.28.bbdo_configure 阶段收到错误:

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

查看详细日志(可以查看here),发现如下错误:

[...]
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 是否包含在图像中...是!那么,怎么了?

【问题讨论】:

标签: yocto


【解决方案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}
}

【讨论】:

    【解决方案2】:

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

    bitbake alsa-tools -c cleansstate +
    
    bitbake ncurses -c cleansstate +
    
    bitbake alsa-tools +
    
    bitbake myImage
    

    祝你好运。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-02-12
      • 2014-09-12
      • 2017-05-21
      • 2013-08-31
      • 1970-01-01
      • 2021-07-10
      • 2023-03-08
      相关资源
      最近更新 更多