<div dir="ltr">It has been solved based on your suggestion, thanks<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 6:48 AM, Dave Chinner <span dir="ltr"><<a href="mailto:david@fromorbit.com" target="_blank">david@fromorbit.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, May 27, 2013 at 08:44:49AM +1000, Dave Chinner wrote:<br>
> On Sun, May 26, 2013 at 12:29:11AM +0800, Zhi Yong Wu wrote:<br>
> > HI,<br>
> ><br>
> > Did anyone hit this issue?<br>
> ><br>
> > [root@f15 xfsprogs]# make<br>
> > Building include<br>
> > Building libxfs<br>
> >     [TEST]    CRC32<br>
> > In file included from ../include/libxfs.h:584:0,<br>
> >                  from crc32.c:36:<br>
> > ../include/xfs/xfs_ialloc.h:75:2: error: unknown type name ‘umode_t’<br>
> > gmake[2]: *** [crc32selftest] Error 1<br>
> > gmake[1]: *** [libxfs] Error 2<br>
> > make: *** [default] Error 2<br>
><br>
> Install the latest kernel headers package for your distro.<br>
<br>
</div></div>Actually, on debian it's part of a libc-dev package:<br>
<br>
$ grep -r umode /usr/include |head -1<br>
/usr/include/asm-generic/types.h:typedef unsigned short umode_t<br>
$ apt-file search /usr/include/asm-generic/types.h<br>
linux-libc-dev: /usr/include/asm-generic/types.h<br>
<div class="HOEnZb"><div class="h5">$<br>
<br>
Cheers,<br>
<br>
Dave.<br>
--<br>
Dave Chinner<br>
<a href="mailto:david@fromorbit.com">david@fromorbit.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Regards,</div><div> </div><div>Zhi Yong Wu</div>
</div>