Re: [BUILD_FAILURE] linux-next: Tree for March 31 build fails onfs/novfs sys_flistxattr()

From: Greg KH
Date: Mon Mar 31 2008 - 12:57:16 EST


On Mon, Mar 31, 2008 at 10:41:25PM +1100, Stephen Rothwell wrote:
> On Mon, 31 Mar 2008 16:49:18 +0530 Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > Hi Stephen,
> >
> > The next-20080331 allyesconfig, build fails on x86_64 machine
> >
> > fs/novfs/built-in.o: In function `sys_flistxattr':
> > /root/kernels/linux-2.6.25-rc7/fs/novfs/inode.c:4658: multiple definition of `sys_flistxattr'
> > fs/xattr.o:/root/kernels/linux-2.6.25-rc7/fs/xattr.c:457: first defined here
> > ld: Warning: size of symbol `sys_flistxattr' changed from 112 in fs/xattr.o to 75 in fs/novfs/built-in.o
> > fs/novfs/built-in.o: In function `sys_fsetxattr':
> > /root/kernels/linux-2.6.25-rc7/fs/novfs/inode.c:4672: multiple definition of `sys_fsetxattr'
> > fs/xattr.o:/root/kernels/linux-2.6.25-rc7/fs/xattr.c:295: first defined here
> > ld: Warning: size of symbol `sys_fsetxattr' changed from 164 in fs/xattr.o to 97 in fs/novfs/built-in.o
> > fs/novfs/built-in.o: In function `sys_fgetxattr':
> > /root/kernels/linux-2.6.25-rc7/fs/novfs/inode.c:4645: multiple definition of `sys_fgetxattr'
> > fs/xattr.o:/root/kernels/linux-2.6.25-rc7/fs/xattr.c:384: first defined here
> > ld: Warning: size of symbol `sys_fgetxattr' changed from 128 in fs/xattr.o to 91 in fs/novfs/built-in.o
> > make[1]: *** [fs/built-in.o] Error 1
> > make: *** [fs] Error 2
>
> Yes, well this from fs/novfs/inode.c was asking for it really :-)
>
> asmlinkage ssize_t sys_flistxattr(int fd, char __user * list, size_t size)
> {
> .

Now fixed up, sorry for the noise. Why it was ever declaring it's own
system calls for extended attributes, I'll never know...

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/