|
【Linux】
px30 内核aufs 打补丁,编译报错
发表于 2020-4-27 14:52:47
浏览:5835
|
回复:0
打印
只看该作者
[复制链接]
楼主
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 |
|