xfsprogs: is it one issue?

Zhi Yong Wu zwu.kernel at gmail.com
Sun May 26 20:17:33 CDT 2013


It has been solved based on your suggestion, thanks


On Mon, May 27, 2013 at 6:48 AM, Dave Chinner <david at fromorbit.com> wrote:

> On Mon, May 27, 2013 at 08:44:49AM +1000, Dave Chinner wrote:
> > On Sun, May 26, 2013 at 12:29:11AM +0800, Zhi Yong Wu wrote:
> > > HI,
> > >
> > > Did anyone hit this issue?
> > >
> > > [root at f15 xfsprogs]# make
> > > Building include
> > > Building libxfs
> > >     [TEST]    CRC32
> > > In file included from ../include/libxfs.h:584:0,
> > >                  from crc32.c:36:
> > > ../include/xfs/xfs_ialloc.h:75:2: error: unknown type name ‘umode_t’
> > > gmake[2]: *** [crc32selftest] Error 1
> > > gmake[1]: *** [libxfs] Error 2
> > > make: *** [default] Error 2
> >
> > Install the latest kernel headers package for your distro.
>
> Actually, on debian it's part of a libc-dev package:
>
> $ grep -r umode /usr/include |head -1
> /usr/include/asm-generic/types.h:typedef unsigned short umode_t
> $ apt-file search /usr/include/asm-generic/types.h
> linux-libc-dev: /usr/include/asm-generic/types.h
> $
>
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david at fromorbit.com
>



-- 
Regards,

Zhi Yong Wu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20130527/7c4593e6/attachment.html>


More information about the xfs mailing list