如何修复此错误“sources/meta-qt5/recipes-qt/qt5/qtwayland_git.bb:do_configure) failed with exit code '1'”

问题描述

我使用的是 NXP L5.10.9 SDK,在构建 qtwayland 包时出现以下错误。 日志显示该项目需要drm,有什么想法可以帮助吗?

| Running configuration tests...
    | Checking for Wayland client library... yes
    | Checking for Wayland cursor library... yes
    | Checking for wayland-scanner... yes
    | Checking for EGL 1.5 with Wayland Platform... yes
    | Project ERROR: Test config.qtwayland_client.tests.dmabuf-server-buffer tries to use undeclared library 'drm'
    | WARNING: exit code 1 from a shell command.
    |
    ERROR: Task (/home/work/imx6/L5.10.9/sources/Meta-qt5/recipes-qt/qt5/qtwayland_git.bb:do_configure) Failed with exit code '1'
    NOTE: Tasks Summary: Attempted 2141 tasks of which 2123 didn't need to be rerun and 1 Failed.

    Summary: 1 task Failed:
      /home/work/imx6/L5.10.9/sources/Meta-qt5/recipes-qt/qt5/qtwayland_git.bb:do_configure
    Summary: There were 2 ERROR messages shown,returning a non-zero exit code.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)