配置了内核后,编译时出现了
“In file included from scripts/selinux/genheaders/genheaders.c:19:
./security/selinux/include/classmap.h:245:2: error: #error New address family defined, please update secclass_map.
245 | #error New address family defined, please update secclass_map.
| ^~~~~
make[3]: *** [scripts/Makefile.host:102: scripts/selinux/genheaders/genheaders] Error 1
make[2]: *** [scripts/Makefile.build:585: scripts/selinux/genheaders] Error 2
make[1]: *** [scripts/Makefile.build:585: scripts/selinux] Error 2
make: *** [Makefile:572: scripts] Error 2”
的问题。更新secclass_map显示无更新包。请问这个错误是什么原因,怎么解决?
什么系统?Ubuntu,centos?
Fedora32
参考一下:
>> >> >>在将glibc更新到2.29之后,我的4.14构建开始失败,如下所示: >> >> ... >> > >> HOSTCC脚本/ SELinux的/ genheaders / genheaders > >>在从脚本/ SELinux的/ genheaders / genheaders.c包含的文件:19: > >> ./security/selinux/include/classmap。 h:245:2:错误:#error定义了新的地址系列,请更新secclass_map。 > >> #error定义了新的地址族,请更新secclass_map。 > >> ^ ~~~~ >> >>这是一个已知问题,已在selinux / next分支中进行了修复,并且 >>将在下一个合并窗口中移至Linus。该修复程序 非常小, 如果您有兴趣,应该相对容易地移植到内核构建中。该补丁可以在中找到 >>以下归档链接: >> >> https://lore.kernel.org/selinux/20190225005528.28371-1-paulo@paulo.ac
你好问题解决了吗