Firefly开源社区

[Linux] px30 内核aufs 打补丁,编译报错

12

积分

0

威望

0

贡献

技术小白

积分
12
发表于 2020-4-27 14:52:47     
AUFS打完补丁,内核重新编译出错如下:
fs/aufs/vdir.c: In function 'seek_vdir':
fs/aufs/debug.h:95:19: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare]
error, forbidden warning:debug.h:95
  if (unlikely((e) < 0)) \
                   ^
include/linux/compiler.h:166:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
                                          ^
fs/aufs/vdir.c:843:2: note: in expansion of macro 'AuTraceErr'
  AuTraceErr(!valid);
  ^~~~~~~~~~
scripts/Makefile.build:277: recipe for target 'fs/aufs/vdir.o' failed
make[2]: *** [fs/aufs/vdir.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC      security/commoncap.o
scripts/Makefile.build:484: recipe for target 'fs/aufs' failed
make[1]: *** [fs/aufs] Error 2
Makefile:1034: recipe for target 'fs' failed
make: *** [fs] Error 2
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表