Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532238 - sys-kernel/aufs-sources-3.17.6 - In file included from fs/aufs/module.c:24:0: fs/aufs/inode.h:307:12: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
Summary: sys-kernel/aufs-sources-3.17.6 - In file included from fs/aufs/module.c:24:0:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 07:52 UTC by Søren Dalby Larsen
Modified: 2015-01-05 12:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Søren Dalby Larsen 2014-12-11 07:52:37 UTC
When compiling the kernel sources I get:

In file included from fs/aufs/module.c:24:0:
fs/aufs/inode.h:307:12: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
 AuStubInt0(au_cpup_xattr, h_dst, h_src, ignore_flags)
            ^
fs/aufs/aufs.h:28:21: note: in definition of macro ‘AuStub’
  static inline type name(__VA_ARGS__) { body; }
                     ^
fs/aufs/inode.h:307:1: note: in expansion of macro ‘AuStubInt0’
 AuStubInt0(au_cpup_xattr, h_dst, h_src, ignore_flags)
 ^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target 'fs/aufs/module.o' failed
make[2]: *** [fs/aufs/module.o] Error 1
scripts/Makefile.build:404: recipe for target 'fs/aufs' failed
make[1]: *** [fs/aufs] Error 2


Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-12-11 10:15:54 UTC
Please set CONFIG_AUFS_XATTR=y . This is a known regression of this version.
Comment 2 Søren Dalby Larsen 2014-12-11 12:47:58 UTC
@(In reply to Justin Lecher from comment #1)
> Please set CONFIG_AUFS_XATTR=y . This is a known regression of this version.

Thanks. Works perfectly.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2015-01-05 12:31:21 UTC
Fixed in later versions.