It has been solved based on your suggestion, thanks
On Mon, May 27, 2013 at 6:48 AM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
Actually, on debian it's part of a libc-dev package: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@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.
$ 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
--
Regards,
Zhi Yong Wu
_______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs