xfsprogs: is it one issue?
Dave Chinner
david at fromorbit.com
Sun May 26 17:48:05 CDT 2013
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
More information about the xfs
mailing list