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

Re: [Linux-cluster] Using GFS with vanilla kernel (2.6.16)



Ugo PARSI a écrit :

Hello,

Do you know how to run GFS / linux-cluster suite under a 2.6.16 vanilla kernel ?

All I've got is :

/usr/src/cluster/dlm-kernel/src2/lockspace.c: In function `do_uevent':
/usr/src/cluster/dlm-kernel/src2/lockspace.c:160: error: too many
arguments to function `kobject_uevent'
/usr/src/cluster/dlm-kernel/src2/lockspace.c:162: error: too many
arguments to function `kobject_uevent'
make[4]: *** [/usr/src/cluster/dlm-kernel/src2/lockspace.o] Error 1

I've removed the last argument in the kobject_uvent call wich was
"NULL", it does compile, but I don't really know if it's safe to do
this that way...

Anyway, I'm stuck with another error which seem due to a missing
include .h file (dlm.h) :

libdlm.c:44:17: dlm.h: No such file or directory
In file included from libdlm.c:46:
libdlm.h:142: warning: `struct dlm_lksb' declared inside parameter list
libdlm.h:142: warning: its scope is only this definition or
declaration, which is probably not what you want
libdlm.h:145: warning: `struct dlm_lksb' declared inside parameter list
libdlm.h:156: warning: `struct dlm_lksb' declared inside parameter list
libdlm.h:160: warning: `struct dlm_lksb' declared inside parameter list
libdlm.h:210: warning: `struct dlm_lksb' declared inside parameter list
libdlm.h:221: warning: `struct dlm_lksb' declared inside parameter list
libdlm.h:225: warning: `struct dlm_lksb' declared inside parameter list
libdlm.h:229: warning: `struct dlm_lksb' declared inside parameter list
libdlm.c:47:24: dlm_device.h: No such file or directory
libdlm.c:70: warning: `struct dlm_lock_result' declared inside parameter list
libdlm.c:71: warning: `struct dlm_lock_result' declared inside parameter list
libdlm.c:72: warning: `struct dlm_write_request' declared inside parameter list
libdlm.c:120: error: field `lksb' has incomplete type
libdlm.c: In function `unlock_resource':
libdlm.c:215: error: `DLM_EUNLOCK' undeclared (first use in this function)
libdlm.c:215: error: (Each undeclared identifier is reported only once
libdlm.c:215: error: for each function it appears in.)
libdlm.c: At top level:
libdlm.c:268: warning: `struct dlm_write_request' declared inside parameter list
libdlm.c: In function `set_version':
libdlm.c:270: error: dereferencing pointer to incomplete type
libdlm.c:270: error: `DLM_DEVICE_VERSION_MAJOR' undeclared (first use
in this function)
libdlm.c:271: error: dereferencing pointer to incomplete type

Any ideas ?

Thanks a lot,

Ugo PARSI

--
Linux-cluster mailing list
Linux-cluster redhat com
https://www.redhat.com/mailman/listinfo/linux-cluster

For the problem with dlm.h i found this:
http://rpmfind.net/linux/RPM/fedora/updates/4/x86_64/debug/dlm-kernel-debuginfo-2.6.11.5-20050601.152643.FC4.21.x86_64.html

Seems that dlm.h is provided by dlm-kernel-debuginfo <http://rpmfind.net/linux/rpm2html/search.php?query=dlm-kernel-debuginfo>.


--
Jerome Castang
mail: jcastang adelpha-lan org



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