最近在PC上做Xenomai 4.
ubuntu 22.04
evl-v5.15.64
libevl-r38
meson 0.63.3
ninja 1.10.2.git.kitware.jobserver-1
Python 3.10.6
evl内核已经启动。但是编译libevl的时候遇到问题:
meson setup -Dbuildtype=release -Dprefix=/opt -Duapi=/home/XXX/linux-evl-v5.15.64-evl1-rebase /home/XXX/libevl_build /home/XXX/libevl-r38 --reconfigure
结果给出如下提示:
Directory does not contain a valid build tree:
/home/libevl_build
对比evl官方的说明:
meson setup [--cross-file <x-file>] -Dbuildtype=<build-type> -Dprefix=<prefix> -Duapi=<kernel-uapi> $buildir $srcdir
猜测可能是meson缺少一些必要的设置。
另外,之前安装pip的时候,遇到如下warning:
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
这个warning暂时没管,不知道和libevl的编译出问题有没有关系。