[Linux-cluster] Compile problems with 2.6.9 source tarballs

Sebastian Kayser mls at skayser.de
Wed May 11 20:50:18 UTC 2005

Hi there,

today i have been trying to get linux-cluster up and running on a debian 
sarge box (installed today via debian-installer rc3). 

Therefor i downloaded the tarballs from


and ran all the .patch files against a vanilla 2.6.9 kernel. The patched 
kernel compiled fine.

I was about to compile & install the additional tools, daemons, and 
modules when i encountered several errors. For example cman-kernel
(although i just noticed that this builds the module i already 
built inside the kernel tree) gave me

1. cd /usr/local/src/linux-cluster/cman-kernel-2.6.9-31
2. ./configure --kernel_src=/usr/src/linux (link to linux-2.6.9)
3. make (results beneath)


sarge-fc1:/usr/local/src/linux-cluster/cman-kernel-2.6.9-31# make
cd src && make all
make[1]: Entering directory
rm -f cluster
ln -s . cluster
make -C /usr/src/linux
M=/usr/local/src/linux-cluster/cman-kernel-2.6.9-31/src modules
make[2]: Entering directory `/usr/src/linux-2.6.9'
  CC [M]  /usr/local/src/linux-cluster/cman-kernel-2.6.9-31/src/cnxman.o
  /usr/local/src/linux-cluster/cman-kernel-2.6.9-31/src/cnxman.c: In
  Funktion »check_for_unacked_nodes«:
  error: `CLUSTER_LEAVEFLAG_NORESPONSE' undeclared (first use in this


I noticed that /usr/src/linux/include/cluster/cnxman-socket.h differed from 
the header file beneath the cman-kernel src dir (the above #define was
missing), copied this over to the kernel include dir and that fixed 
the problem. 

Nevertheless i also get errors when trying to compile the other components.  
For example the make process for cman complains about not finding ccs.h
(which naturally exists within the ccs directory but somehow isn't
referenced the right way...)


sarge-fc1:/usr/local/src/linux-cluster/cman-1.0-pre32# make
cd cman_tool && make all
make[1]: Entering directory
gcc -Wall  -g -I//usr/include -I../config
-DCMAN_RELEASE_NAME=\"1.0-pre32\" -I/usr/src/linux/include/cluster -c -o
join_ccs.o join_ccs.c
join_ccs.c:21:17: ccs.h: Datei oder Verzeichnis nicht gefunden



I get the slight feeling that i am missing something genereal regarding 
the build process for the linux-cluster package. Can anyone point me in 
the right direction?



More information about the Linux-cluster mailing list