configure: WARNING: sys/capability.h: accepted by the compiler, rejected by the preprocessor!

来源:互联网 发布:淘宝助理官方下载 免费 编辑:程序博客网 时间:2024/06/07 08:10

在运行 configure的时候报这个错误。

原因是没有在 CPPFLAGS里指定头文件的位置。

执行

export CPPFLAGS="-I/home/charles/code/build_systemd/libcap2-2.24/libcap/include"

后,重新运行 configure就好了。

0 0
原创粉丝点击