[Linux-cluster] Probelm compiling Cluster package.
David Teigland
teigland at redhat.com
Mon May 7 21:24:45 UTC 2007
On Mon, May 07, 2007 at 06:18:51PM -0300, Santiago Del Castillo wrote:
> Hi!
>
> While trying to compile CVS cluster sources against gfs2-2.6-fixes
> kernel sources (retreived from git
> linux/kernel/git/steve/gfs2-2.6-fixes.git) i get this error:
>
> make[2]: Entering directory
> `/home/sdcastillo/sources/GFS/cluster-2.00.00/dlm/lib'
> gcc -Wall -g -I. -O2 -D_REENTRANT -c -o libdlm.o libdlm.c
> In file included from libdlm.c:48:
> /usr/include/linux/dlm_device.h:32: error: expected ':', ',', ';', '}'
> or '__attribute__' before '*' token
> /usr/include/linux/dlm_device.h:63: error: expected ':', ',', ';', '}'
> or '__attribute__' before '*' token
The problem is the __user tags in /usr/include/linux/dlm_device.h, if you
edit dlm_device.h and remove them it should work.
Dave
More information about the Linux-cluster
mailing list