Hi all, I have the same problem. Does anyone have any tips or ideas?
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