xfs
[Top] [All Lists]

Re: xfsprogs: is it one issue?

To: Zhi Yong Wu <zwu.kernel@xxxxxxxxx>
Subject: Re: xfsprogs: is it one issue?
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Mon, 27 May 2013 08:48:05 +1000
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20130526224449.GM24543@dastard>
References: <CAEH94LjnVn-uD6cfwOcChC4wq1PppcD8BN30F93SD=YjdTbbuw@xxxxxxxxxxxxxx> <20130526224449.GM24543@dastard>
User-agent: Mutt/1.5.21 (2010-09-15)
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.

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@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>