根据这里的指导文档:GitCode - 全球开发者的开源社区,开源代码托管平台
来进行搭建component_drivers的开发环境,到了下面这步:
meson setup builddir
发现缺少很多依赖,信息如下:
root@12423185d1a7:~/devmon# meson setup builddir
The Meson build system
Version: 1.7.0
Source dir: /root/devmon
Build dir: /root/devmon/builddir
Build type: native build
Project name: devmon
Project version: 0.1.0
C++ compiler for the host machine: c++ (gcc 9.5.0 “c++ (Ubuntu 9.5.0-6ubuntu2) 9.5.0”)
C++ linker for the host machine: c++ ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
meson.build:13: WARNING: Consider using the built-in warning_level option instead of using “-Wall”.
meson.build:13: WARNING: Consider using the built-in warning_level option instead of using “-Wextra”.
Configuring devmon_config.h using configuration
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Found CMake: /usr/bin/cmake (3.28.3)
Run-time dependency libmcpp found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libmcpp
Executing subproject libmcpp
libmcpp| Project name: libmcpp
libmcpp| Project version: 0.1.0
libmcpp| C++ compiler for the host machine: c++ (gcc 9.5.0 “c++ (Ubuntu 9.5.0-6ubuntu2) 9.5.0”)
libmcpp| C++ linker for the host machine: c++ ld.bfd 2.42
libmcpp| subprojects/libmcpp/meson.build:15: WARNING: Consider using the built-in warning_level option instead of using “-Wall”.
libmcpp| subprojects/libmcpp/meson.build:15: WARNING: Consider using the built-in warning_level option instead of using “-Wextra”.
libmcpp| Run-time dependency Boost found: YES 1.83.0 (/usr/include)
libmcpp| Run-time dependency Boost (found: program_options) found: YES 1.83.0 (/usr)
libmcpp| Run-time dependency dbus-1 found: YES 1.14.10
libmcpp| Run-time dependency glib-2.0 found: YES 2.80.0
libmcpp| Build targets in project: 7
libmcpp| Subproject libmcpp finished.
Dependency libmcpp from subproject subprojects/libmcpp found: YES 0.1.0
Run-time dependency internal found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency internal
Executing subproject component_drivers
component_drivers| Project name: component_drivers
component_drivers| Project version: 0.1.0
component_drivers| C++ compiler for the host machine: c++ (gcc 9.5.0 “c++ (Ubuntu 9.5.0-6ubuntu2) 9.5.0”)
component_drivers| C++ linker for the host machine: c++ ld.bfd 2.42
component_drivers| subprojects/component_drivers/meson.build:13: WARNING: Consider using the built-in warning_level option instead of using “-Wall”.
component_drivers| subprojects/component_drivers/meson.build:13: WARNING: Consider using the built-in warning_level option instead of using “-Wextra”.
component_drivers| Dependency dbus-1 found: YES 1.14.10 (cached)
component_drivers| Dependency glib-2.0 found: YES 2.80.0 (cached)
component_drivers| Dependency libmcpp found: YES 0.1.0 (cached)
component_drivers| Message: meson build libraries
component_drivers| WARNING: You should add the boolean check kwarg to the run_command call.
component_drivers| It currently defaults to false,
component_drivers| but it will default to true in meson 2.0.
component_drivers| See also: https://github.com/mesonbuild/meson/issues/9300
component_drivers| Message: meson build libraries
component_drivers| Message: meson build drivers
component_drivers| Run-time dependency libsoc_adapter found: NO (tried pkgconfig)
component_drivers| Run-time dependency libsoc_adapter found: NO (tried pkgconfig)
component_drivers| Run-time dependency libsoc_adapter found: NO (tried pkgconfig)
component_drivers| Message: 开始构建wx驱动库
component_drivers| Message: 构建wx接口库
component_drivers| Message: wx接口库构建完成
component_drivers| Message: wx驱动库构建完成
component_drivers| Build targets in project: 41
component_drivers| Subproject component_drivers finished.
Dependency internal from subproject subprojects/component_drivers found: YES 0.1.0
Dependency dbus-1 found: YES 1.14.10 (cached)
Dependency glib-2.0 found: YES 2.80.0 (cached)
Run-time dependency skynet found: NO (tried pkgconfig)
meson.build:111:13: ERROR: Dependency “skynet” not found, tried pkgconfig
A full log can be found at /root/devmon/builddir/meson-logs/meson-log.txt
感觉这个docker里面缺少一个安装bmc_sdk的步骤,请解答,谢谢。
另外,这个驱动编译成功后,如何融合到总包里面,来测试。根据: GitCode - 全球开发者的开源社区,开源代码托管平台
manifest里面的#pr235,编译会永远在wait里面,不会出包。