I bumped into this problem:
"...
CC [M] fs/aufs/module.o
fs/aufs/module.c: In function ‘aufs_init’:
fs/aufs/module.c:150:2: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [enabled by default]
In file included from ./arch/x86/include/asm/string.h:4:0,
from include/linux/string.h:17,
from include/linux/dynamic_debug.h:111,
from include/linux/printk.h:261,
from include/linux/kernel.h:13,
from include/linux/sched.h:17,
from ././include/uapi/linux/aufs_type.h:30,
from <command-line>:0:
./arch/x86/include/asm/string_64.h:32:14: note: expected ‘void ’ but argument is of type ‘const struct inode_operations ’
fs/aufs/module.c:152:3: error: assignment of member ‘getattr’ in read-only object
make[3]: *** [fs/aufs/module.o] Error 1
make[2]: *** [fs/aufs] Error 2
make[1]: *** [fs] Error 2
make[1]: Leaving directory `/root/kernel/linux-3.18.21'
make: *** [debian/stamp/build/kernel] Error 2
..."</command-line>
Could you help me pls?
Hello TBS,
"T B S":
It doesn't look you are compiling vanilla v3.18 or v3.18.21.
Please provide these necessary info
(from aufs README file)
When you have any problems or strange behaviour in aufs, please let me
know with:
:::
if your kernel is not plain, for example modified by distributor,
the url where i can download its source is necessary too.
system, instead of the date you downloaded.
:::
Usually, I don't watch the Public Areas(Bugs, Support Requests, Patches,
and Feature Requests) on SourceForge. Please join and write to
aufs-users ML.
J. R. Okajima