[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] Probelm compiling Cluster package.



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
libdlm.c: In function 'do_dlm_dispatch':
libdlm.c:442: error: 'struct dlm_lock_result' has no member named 'user_lksb'
libdlm.c:442: error: 'struct dlm_lock_result' has no member named 'lksb'
libdlm.c:446: error: 'struct dlm_lock_result' has no member named 'user_lksb'
libdlm.c:446: error: 'struct dlm_lock_result' has no member named 'user_lksb'
libdlm.c:449: error: 'struct dlm_lock_result' has no member named 'lvb_offset'
libdlm.c:450: error: 'struct dlm_lock_result' has no member named 'user_lksb'
libdlm.c:450: error: 'struct dlm_lock_result' has no member named 'lvb_offset'
libdlm.c:469: error: 'struct dlm_lock_result' has no member named 'user_astaddr'
libdlm.c:471: error: 'struct dlm_lock_result' has no member named 'user_astaddr'
libdlm.c:472: error: 'struct dlm_lock_result' has no member named
'user_astparam'
libdlm.c: In function 'sync_write':
libdlm.c:494: error: 'struct dlm_lock_params' has no member named 'castaddr'
libdlm.c:495: error: 'struct dlm_lock_params' has no member named 'castparam'
libdlm.c:501: error: 'struct dlm_lock_params' has no member named 'lksb'
libdlm.c:511: error: 'struct dlm_lock_params' has no member named 'castaddr'
libdlm.c:512: error: 'struct dlm_lock_params' has no member named 'castparam'
libdlm.c: In function 'dlm_ls_lock':
libdlm.c:595: error: 'struct dlm_lock_params' has no member named 'lksb'
libdlm.c:596: error: 'struct dlm_lock_params' has no member named 'castaddr'
libdlm.c:597: error: 'struct dlm_lock_params' has no member named 'bastaddr'
libdlm.c:598: error: 'struct dlm_lock_params' has no member named 'castparam'
libdlm.c:599: error: 'struct dlm_lock_params' has no member named 'bastparam'
libdlm.c:620: error: 'struct dlm_lock_params' has no member named 'name'
libdlm.c:624: error: 'struct dlm_lock_params' has no member named 'lvb'
libdlm.c: In function 'dlm_ls_unlock':
libdlm.c:780: error: 'struct dlm_lock_params' has no member named 'lksb'
libdlm.c:781: error: 'struct dlm_lock_params' has no member named 'castparam'
libdlm.c:783: error: 'struct dlm_lock_params' has no member named 'castaddr'
make[2]: *** [libdlm.o] Error 1
make[2]: Leaving directory
`/home/sdcastillo/sources/GFS/cluster-2.00.00/dlm/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sdcastillo/sources/GFS/cluster-2.00.00/dlm'
make: *** [all] Error 2


I'm not an expert in C  language and compiling things.. But i can
manage myself a little bit :)

Has anyone experienced this? or know how to fix it?


Other question:

Which is the difference between gfs2-2.6-fixes.git and gfs2-2.6-nmw.git?


Thank you very much!
Santiago del Castillo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]