[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem compiling dmapi
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