On 08/12/14 13:25, sf...@users.sourceforge.net wrote: > Hello Justin, > > "Justin (jlec)": >> In file included from fs/aufs/module.c:24:0: >> fs/aufs/inode.h:307:12: error: function declaration isn=92t a prototype >> [-Werror=3Dstrict-prototypes] >> AuStubInt0(au_cpup_xattr, h_dst, h_src, ignore_flags) >> ^ >> fs/aufs/aufs.h:28:21: note: in definition of macro =91AuStub=92 >> static inline type name(__VA_ARGS__) { body; } >> ^ >> fs/aufs/inode.h:307:1: note: in expansion of macro =91AuStubInt0=92 >> AuStubInt0(au_cpup_xattr, h_dst, h_src, ignore_flags) > > It is my mistake. > Here is a patch which will be released in next Monday. > > > J. R. Okajima >
Hi, aufs3 version 20141215 has problem compiling with 3.18.1 In file included from include/linux/sched.h:17:0, from ././include/uapi/linux/aufs_type.h:30, from <command-line>:0: fs/aufs/dcsub.c: In function ‘au_dcsub_pages’: fs/aufs/dcsub.c:137:13: error: ‘union <anonymous>’ has no member named ‘d_child’ d_u.d_child); ^ include/linux/kernel.h:796:29: note: in definition of macro ‘container_of’ const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ fs/aufs/dcsub.c:136:27: note: in expansion of macro ‘list_entry’ struct dentry *dentry = list_entry(tmp, struct dentry, ^ include/linux/kernel.h:796:48: warning: initialization from incompatible pointer type const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ include/linux/list.h:352:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member) ^ fs/aufs/dcsub.c:136:27: note: in expansion of macro ‘list_entry’ struct dentry *dentry = list_entry(tmp, struct dentry, ^ include/linux/kernel.h:796:48: warning: (near initialization for ‘dentry’) const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ include/linux/list.h:352:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member) ^ fs/aufs/dcsub.c:136:27: note: in expansion of macro ‘list_entry’ struct dentry *dentry = list_entry(tmp, struct dentry, ^ In file included from include/linux/compiler-gcc.h:106:0, from include/linux/compiler.h:54, from include/uapi/linux/stddef.h:1, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from ././include/uapi/linux/aufs_type.h:30, from <command-line>:0: include/linux/compiler-gcc4.h:14:34: error: ‘union <anonymous>’ has no member named ‘d_child’ #define __compiler_offsetof(a,b) __builtin_offsetof(a,b) ^ include/linux/stddef.h:17:31: note: in expansion of macro ‘__compiler_offsetof’ #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER) ^ include/linux/kernel.h:797:29: note: in expansion of macro ‘offsetof’ (type *)( (char *)__mptr - offsetof(type,member) );}) ^ include/linux/list.h:352:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member) ^ fs/aufs/dcsub.c:136:27: note: in expansion of macro ‘list_entry’ struct dentry *dentry = list_entry(tmp, struct dentry, ^ fs/aufs/dcsub.c:173:20: error: ‘union <anonymous>’ has no member named ‘d_child’ next = child->d_u.d_child.next; ^ scripts/Makefile.build:257: recipe for target 'fs/aufs/dcsub.o' failed make[2]: *** [fs/aufs/dcsub.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CHK kernel/config_data.h Justin
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk