您尚未登录。

楼主 # 2021-06-06 23:03:28

scy251147
会员
注册时间: 2021-05-16
已发帖子: 27
积分: 13.5

为荔枝派nano编译linux内核报错

scy@ubuntu:~/linux-mi/linux-f1c100s-480272lcd-test$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j16
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  HOSTCC  scripts/recordmcount
  HOSTCC  scripts/sortextable
  HOSTCC  scripts/asn1_compiler
  HOSTCC  scripts/sign-file
  HOSTCC  scripts/extract-cert
  HOSTCC  scripts/insert-sys-cert
  CHK     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/selinux/genheaders/genheaders
  HOSTCC  scripts/selinux/mdp/mdp
In file included from scripts/selinux/mdp/mdp.c:49:
./security/selinux/include/classmap.h:247:2: error: #error New address family defined, please update secclass_map.
  247 | #error New address family defined, please update secclass_map.
      |  ^~~~~
In file included from scripts/selinux/genheaders/genheaders.c:19:
./security/selinux/include/classmap.h:247:2: error: #error New address family defined, please update secclass_map.
  247 | #error New address family defined, please update secclass_map.
      |  ^~~~~
make[3]: *** [scripts/Makefile.host:90: scripts/selinux/mdp/mdp] Error 1
make[2]: *** [scripts/Makefile.build:575: scripts/selinux/mdp] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.host:90: scripts/selinux/genheaders/genheaders] Error 1
make[2]: *** [scripts/Makefile.build:575: scripts/selinux/genheaders] Error 2
make[1]: *** [scripts/Makefile.build:575: scripts/selinux] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:556: scripts] Error 2

报错信息如上,看上去感觉是不是哪里的环境配错了?

离线

楼主 #1 2021-06-06 23:22:37

scy251147
会员
注册时间: 2021-05-16
已发帖子: 27
积分: 13.5

Re: 为荔枝派nano编译linux内核报错

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn