Jayson Vantuyl wrote:
Trying to build cman from cluster relase 1.03.00. Also has same error with 1.04.00. Building against Xen-3.0.5 patched 2.6.18. I get this:
CC [M] /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/proc.o /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c: In function 'do_ioctl_join_cluster':
/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c:1751: warning: implicit declaration of function 'init_utsname'
/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c:1751: error: invalid type argument of '->'
Back in February, I updated the STABLE branch of cvs from the older
kernels up to the newer ones. That's probably why it doesn't compile in
2.6.18, but should in the 2.6.20 and 21 series. This particular change to cnxman.c can be seen here:
You can always revert that change if you need to stick with the older
kernel. However, there were a bunch of things changed, and they might
also give you problems with the older kernel.
For a complete list of changes I made, please see:
Red Hat Cluster Suite
Linux-cluster mailing list