xfs
[Top] [All Lists]

Re: problem compiling dmapi

To: Derek Glidden <dglidden@xxxxxxxxxxxxxxx>
Subject: Re: problem compiling dmapi
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Mon, 13 Aug 2001 14:57:48 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <3B783057.B5A60634@xxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Derek Glidden wrote:
> 
> When trying to build the dmapi stuff from CVS on 20010813 on my (mostly)
> Debian 2.2 box, I get a whole pile of errors, starting with:
> 
> In file included from dm_attr.c:33:
> ../include/dmapi.h:308: parse error before `mode_t'


Funny you should ask, Adam just ran into this... most likely the same
problem?

Adam H. Pendleton wrote:
> 
> Sorry to be that guy today, but there is another error when compiling the 
> dmapi command tree from CVS, on Slackware 8.  The
> include/dmapi.h file #include()?s <linux/types.h>, but in order to pull in 
> the mode_t on Slackware (don?t know about any other distro yet),
> you must also #include <sys/types.h>.  After adding that line, it compiled 
> fine.

-Eric


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