失败:alsa/Makefile依赖项检查:$(shell pkg config–libs alsa)

Ming 测试交流1 113字数 695阅读模式
摘要我使用的是Ubuntu 20.04。当我运行./kselftest_deps时。sh gcc在./linux-5.19.0/tools/testing/selftests中,它显示...

我使用的是Ubuntu 20.04。当我运行时 ./kselftest_ deps。sh gcc 在里面 /l在里面ux-5.19.0/tools/test在里面g/selftests,它显示了以下内容:

失败: 阿尔萨/Makefile dependency check: $(shell
失败: 阿尔萨/Makefile dependency check: 打包配置
失败: 阿尔萨/Makefile dependency check: --libs
失败: 阿尔萨/Makefile dependency check: 阿尔萨)
失败: 阿尔萨/Makefile dependency check: $(shell
失败: 阿尔萨/Makefile dependency check: 打包配置
失败: 阿尔萨/Makefile dependency check: --libs
失败: 阿尔萨/Makefile dependency check: 阿尔萨)

我检查一下房间 阿尔萨/Makefile,它有以下两行:文章源自玩技e族-https://www.playezu.com/196092.html

CFLAGS += $(shell 打包配置 --cflags 阿尔萨)
LDLIBS += $(shell 打包配置 --libs 阿尔萨)

虽然我们都知道这一点 打包配置 为了有效,必须有一个名为 阿尔萨.pc 在指定路径中。但我找不到 阿尔萨.pc 在任一种情况下 /阿尔萨 目录或整个l在里面ux内核源目录中。
我在谷歌上搜索并试图安装 阿尔萨 通过 sudo apt get安装libasound2 dev 以及其他相关命令。它仍然生成相同的输出。文章源自玩技e族-https://www.playezu.com/196092.html

那么如何解决这个问题呢?文章源自玩技e族-https://www.playezu.com/196092.html

我对Makefile中的两行进行了注释,这次 ./kselftest_ deps。sh gcc 不产生 失败 关于 阿尔萨 .这是解决方案吗?文章源自玩技e族-https://www.playezu.com/196092.html

软件测试设计文章源自玩技e族-https://www.playezu.com/196092.html 文章源自玩技e族-https://www.playezu.com/196092.html

玩技站长微信
添加好友自动发送入群邀请
weinxin
rainbow-shownow
玩技官方公众号
官方微信公众号
weinxin
PLAYEZU
 
    • li_jessen
      li_jessen 9

      我给相关的维护人员写了一封电子邮件,收到了一封回复,说他认为这是一个错误,无法解析代码 $(shell pkg config–libs alsa).

    匿名

    发表评论

    匿名网友
    确定