[Linux-cluster] Linux cluster compiling error

Anton Nekhoroshikh anton at hq.310.ru
Tue Oct 26 12:51:49 UTC 2004


Добрый день Chinyanta,

Tuesday, October 26, 2004, 4:47:24 PM, you wrote:

Chinyanta Nkonkomalimba> Hi all,
Chinyanta Nkonkomalimba> I have the same problem. Does anyone have
any tips or ideas?

copy new version:
cnxman.h
cnxman-socket.h
dlm.h
dlm_device.h
service.h
to
/usr/include/linux/cluster
KERNEL_SRC/include/cluster


>> From: Qian Liu <qliu ncsa uiuc edu>
>> 
>> Hi, all
>> 
>> I used redhat linux 2.6.8.1 kernel with linux cluster patches.
>> The new patched kernel works but when I follow the documentation to
>> do compiling under cluster directory I got the following error:
>> 
>> [root kfs2 gfs]# cd cluster/
>> [root kfs2 cluster]# make
>> echo sbindir=/home/qliu/gfs/cluster/build/sbin
>> libdir=/home/qliu/gfs/cluster/bui
>> ld/lib mandir=/home/qliu/gfs/cluster/build/man
>> incdir=/home/qliu/gfs/cluster/bui
>> ld/incdir module_dir=/home/qliu/gfs/cluster/build/module
>> sbindir=/home/qliu/gfs/cluster/build/sbin
>> libdir=/home/qliu/gfs/cluster/build/li
>> b mandir=/home/qliu/gfs/cluster/build/man
>> incdir=/home/qliu/gfs/cluster/build/in
>> cdir module_dir=/home/qliu/gfs/cluster/build/module
>> cd cman-kernel && make install
>> sbindir=/home/qliu/gfs/cluster/build/sbin libdir=
>> /home/qliu/gfs/cluster/build/lib
>> mandir=/home/qliu/gfs/cluster/build/man incdir=
>> /home/qliu/gfs/cluster/build/incdir
>> module_dir=/home/qliu/gfs/cluster/build/modu
>> le
>> make[1]: Entering directory `/home/qliu/gfs/cluster/cman-kernel'
>> cd src && make install
>> make[2]: Entering directory
>> `/home/qliu/gfs/cluster/cman-kernel/src'
>> rm -f cluster
>> ln -s . cluster
>> make -C /home/qliu/gfs/linux-2.6.8.1
>> M=/home/qliu/gfs/cluster/cman-kernel/src mo
>> dules USING_KBUILD=yes
>> make[3]: Entering directory `/home/qliu/gfs/linux-2.6.8.1'
>> CC [M] /home/qliu/gfs/cluster/cman-kernel/src/cnxman.o
>> /home/qliu/gfs/cluster/cman-kernel/src/cnxman.c: In function `__sendmsg':
>> /home/qliu/gfs/cluster/cman-kernel/src/cnxman.c:2308: `MSG_BCASTSELF' undeclared
>> (first use in this function)
>> /home/qliu/gfs/cluster/cman-kernel/src/cnxman.c:2308: (Each undeclared identifie
>> r is reported only once
>> /home/qliu/gfs/cluster/cman-kernel/src/cnxman.c:2308: for each function it appea
>> rs in.)
>> make[4]: *** [/home/qliu/gfs/cluster/cman-kernel/src/cnxman.o] Error 1
>> make[3]: *** [_module_/home/qliu/gfs/cluster/cman-kernel/src] Error 2
>> make[3]: Leaving directory `/home/qliu/gfs/linux-2.6.8.1'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory `/home/qliu/gfs/cluster/cman-kernel/src'
>> make[1]: *** [install] Error 2
>> make[1]: Leaving directory `/home/qliu/gfs/cluster/cman-kernel'
>> make: *** [all] Error 2
>> 
>> Does anyone have any idea or suggestions for this? Thanks in advance!
>> 
>> -Qian

Chinyanta Nkonkomalimba> --
Chinyanta Nkonkomalimba> Linux-cluster mailing list
Chinyanta Nkonkomalimba> Linux-cluster at redhat.com
Chinyanta Nkonkomalimba>
http://www.redhat.com/mailman/listinfo/linux-cluster




-- 
С уважением,
Anton Nekhoroshikh
Руководитель проекта
отдела сложных телекоммуникационных систем 

тел. (095) 363 3 310
факс (095) 363 3 310
e-mail: anton at hq.310.ru
http://www.310.ru




More information about the Linux-cluster mailing list