[Linux-cluster] Compile problems with latest CVS

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

 



I'm almost positive that I'm inept - since this is much more likely to be my fault than
anything else, however I've gone through the process multiple times, and can't seem to see
what I'm doing wrong.

1. Download & untar 2.6.9 kernel
2. login to cvs & checkout the cluster stuff
3. for i in ../cluster/*kernel/patches/2.6.9/*patch; do patch -p1 <$i; done
   Which means
   ../cluster/cman-kernel/patches/2.6.9/00001.patch
   ../cluster/cman-kernel/patches/2.6.9/cman.patch
   ../cluster/dlm-kernel/patches/2.6.9/00001.patch
   ../cluster/dlm-kernel/patches/2.6.9/dlm.patch
   ../cluster/gfs-kernel/patches/2.6.9/00001.patch
   ../cluster/gfs-kernel/patches/2.6.9/00002.patch
   ../cluster/gfs-kernel/patches/2.6.9/00003.patch
   ../cluster/gfs-kernel/patches/2.6.9/00004.patch
   ../cluster/gfs-kernel/patches/2.6.9/00005.patch
   ../cluster/gfs-kernel/patches/2.6.9/gfs.patch
   ../cluster/gfs-kernel/patches/2.6.9/lock_dlm.patch
   ../cluster/gfs-kernel/patches/2.6.9/lock_gulm.patch
   ../cluster/gfs-kernel/patches/2.6.9/lock_harness.patch
   ../cluster/gfs-kernel/patches/2.6.9/lock_nolock.patch
   ../cluster/gnbd-kernel/patches/2.6.9/00001.patch
   ../cluster/gnbd-kernel/patches/2.6.9/gnbd.patch
4. make menuconfig, and include all the kernel stuff as modules.
5. (use make-kpkg to make a debian package of it)
6. in cluster do "./configure --kernel_src=/usr/src/linux-2.6.9"
7. run "make all".


And this is where it fails with:

  CC [M]  /usr/src/cluster/cman-kernel/src/cnxman.o
/usr/src/cluster/cman-kernel/src/cnxman.c: In function `do_ioctl_get_cluster':
/usr/src/cluster/cman-kernel/src/cnxman.c:1331: error: dereferencing pointer to incomplete
type
/usr/src/cluster/cman-kernel/src/cnxman.c:1334: error: dereferencing pointer to incomplete
type
/usr/src/cluster/cman-kernel/src/cnxman.c: In function `cl_ioctl':
/usr/src/cluster/cman-kernel/src/cnxman.c:1801: error: `SIOCCLUSTER_GETCLUSTER' undeclared
(first use in this function)
/usr/src/cluster/cman-kernel/src/cnxman.c:1801: error: (Each undeclared identifier is
reported only once
/usr/src/cluster/cman-kernel/src/cnxman.c:1801: error: for each function it appears in.)
make[4]: *** [/usr/src/cluster/cman-kernel/src/cnxman.o] Error 1


I've googled a few times, but can't find anything relevant, and don't remember seeing it on
this list either.

Can someone put me out of my misery, and tell me what I'm doing wrong?

Ta,

Graham


PS: Any update on mirroring? :)


[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