On Wed, 2007-10-10 at 10:13 -0500, David Teigland wrote:
On Wed, Oct 10, 2007 at 06:11:34PM +0300, cosmih wrote: > > thanks ... it seems like i don't search enough on mailinglist :( > > so .. iti is safe to copy only dlm header from 2.6.23, build and install > cluster-2.01.00 and use 2.6.22 kernel ? No, 2.6.23 is required. Dave
i still have errors !!!
here is what i was do
1) compiled the new 2.6.23
2) booted the system with the kernel from above
3) copied /usr/src/linux-2.6.23/include/linux/dlm* into /usr/include/linux/
4) run the following configure command into cluster-2.01.00 directory
./configure --prefix=/usr/local/cluster --libdir=/usr/local/cluster/lib \
--libexecdir=/usr/local/cluster/libexec --mandir=/usr/local/cluster/man \ --sharedir=/usr/local/cluster/share --incdir=/usr/local/cluster/include \ --openaisincdir=/usr/include --openaislibdir=/usr/lib/openais \ --ncursesincdir=/usr/include --ncurseslibdir=/usr/lib \ --readlineincdir=/usr/include/readline --readlinelibdir=/usr/lib \ --nssincdir=/usr/include/nss --nsslibdir=/usr/lib/nss \ --nsprincdir=/usr/include/nspr --nsprlibdir=/usr/lib/nspr \ --cflags="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer" 5) run "make fence" command and i have the following errors make[1]: Entering directory `/root/cluster-2.01.00/dlm' set -e && \ for i in lib tool; do \ make -C $i all; \ done make[2]: Entering directory `/root/cluster-2.01.00/dlm/lib' gcc -O2 -march=i686 -mtune=i686 -fomit-frame-pointer -I/root/cluster-2.01.00/config -g -O2 -I. -I/usr/local/cluster/include -D_REENTRANT -c -o libdlm.o libdlm.c In file included from libdlm.c:48: /usr/include/linux/dlm_device.h:35: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token /usr/include/linux/dlm_device.h:78: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token libdlm.c: In function ‘do_dlm_dispatch_v6’: libdlm.c:570: error: ‘struct dlm_lock_result’ has no member named ‘user_lksb’ libdlm.c:570: error: ‘struct dlm_lock_result’ has no member named ‘lksb’ libdlm.c:574: error: ‘struct dlm_lock_result’ has no member named ‘lvb_offset’ libdlm.c:575: error: ‘struct dlm_lock_result’ has no member named ‘user_lksb’ libdlm.c:576: error: ‘struct dlm_lock_result’ has no member named ‘lvb_offset’ libdlm.c:578: error: ‘struct dlm_lock_result’ has no member named ‘user_lksb’ libdlm.c:578: error: ‘struct dlm_lock_result’ has no member named ‘user_lksb’ libdlm.c:580: error: ‘struct dlm_lock_result’ has no member named ‘user_astaddr’ libdlm.c:581: error: ‘struct dlm_lock_result’ has no member named ‘user_astaddr’ libdlm.c:582: error: ‘struct dlm_lock_result’ has no member named ‘user_astparam’ libdlm.c: In function ‘sync_write_v6’: libdlm.c:652: error: ‘struct dlm_lock_params’ has no member named ‘castaddr’ libdlm.c:653: error: ‘struct dlm_lock_params’ has no member named ‘castparam’ libdlm.c:659: error: ‘struct dlm_lock_params’ has no member named ‘lksb’ libdlm.c:667: error: ‘struct dlm_lock_params’ has no member named ‘castaddr’ libdlm.c:668: error: ‘struct dlm_lock_params’ has no member named ‘castparam’ libdlm.c: In function ‘ls_lock_v6’: libdlm.c:828: error: ‘struct dlm_lock_params’ has no member named ‘lksb’ libdlm.c:829: error: ‘struct dlm_lock_params’ has no member named ‘castaddr’ libdlm.c:830: error: ‘struct dlm_lock_params’ has no member named ‘bastaddr’ libdlm.c:831: error: ‘struct dlm_lock_params’ has no member named ‘castparam’ libdlm.c:832: error: ‘struct dlm_lock_params’ has no member named ‘bastparam’ libdlm.c:847: error: ‘struct dlm_lock_params’ has no member named ‘name’ libdlm.c:851: error: ‘struct dlm_lock_params’ has no member named ‘lvb’ libdlm.c: In function ‘ls_unlock_v6’: libdlm.c:1039: error: ‘struct dlm_lock_params’ has no member named ‘lksb’ libdlm.c:1040: error: ‘struct dlm_lock_params’ has no member named ‘castparam’ libdlm.c:1042: error: ‘struct dlm_lock_params’ has no member named ‘castaddr’ make[2]: *** [libdlm.o] Error 1 make[2]: Leaving directory `/root/cluster-2.01.00/dlm/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/cluster-2.01.00/dlm' make: *** [dlm] Error 2 regards, cosmih
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster