xfs
[Top] [All Lists]

Re: xfsprogs: is it one issue?

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: xfsprogs: is it one issue?
From: Zhi Yong Wu <zwu.kernel@xxxxxxxxx>
Date: Mon, 27 May 2013 09:17:33 +0800
Cc: xfstests <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=aO/JzNLETYzVqhc1Yh0YmnEa6wvQwVc5CLWil2HKHCw=; b=Xe3Kjpr8nrOHy8L4S022kPkzFpOggLkKeaOjWE4Uh/iAdIKemtd4HKHVmMzqI/zi+H thadC3Aimt4m7ZeccW6PGofcWSKBKK6CFUT/Zr3NCSMMzY6gm57Ihq8iJmnBmY7yM9Vo uiJEhRubpcVjwkznod0MXksbu8clkPDcSAn8ofZ1eeaOAQ3lxfkrvIDeSl6lp0mnmOo1 Wnh0ZyFX9KdWMfwen+/gRIJWfZpMaHT93q5JuVM18Tl7UXhRoNnuEbLqhvwRDb4W/GU2 UIfvVpZeqCNCI2ciN7dIsbvrvWO13zjdm5eJgYXJo+WHcFbYeLyt1qwHLCemG2cyE9bw IgsQ==
In-reply-to: <20130526224805.GN24543@dastard>
References: <CAEH94LjnVn-uD6cfwOcChC4wq1PppcD8BN30F93SD=YjdTbbuw@xxxxxxxxxxxxxx> <20130526224449.GM24543@dastard> <20130526224805.GN24543@dastard>
It has been solved based on your suggestion, thanks


On Mon, May 27, 2013 at 6:48 AM, Dave Chinner <david@xxxxxxxxxxxxx> 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@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



--
Regards,
 
Zhi Yong Wu
<Prev in Thread] Current Thread [Next in Thread>