Re: CMan Build Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 '->'

Any ideas?

--Jayson Vantuyl
Systems Architect
Engine Yard
jvantuyl@xxxxxxxxxxxxxx

Hi Jayson,

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:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/cman-kernel/src/Attic/cnxman.c.diff?r1=1.42.2.12.4.1.2.14&r2=1.42.2.12.4.1.2.15&cvsroot=cluster&f=h

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:

https://www.redhat.com/archives/cluster-devel/2007-February/msg00115.html

Regards,

Bob Peterson
Red Hat Cluster Suite

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux