problem compiling redhat cluster2 with 2.6.9

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

 



Hi,

I am facing problem in compiling cluster 1 or cluster 2 with kernel - 2.6.9.
cluster sources were picked from
ftp://sources.redhat.com/pub/cluster/releases/

can anyone please tell if its possible to compile GFS1 or 2 with kernel 2.6.9
any help is appreciated.


transcript:

cluster-2.00.00]# ./configure --kernel_src=/usr/src/vanilla/linux-2.6.9
configure gnbd-kernel

Configuring Makefiles for your system...
Completed Makefile configuration

configure ccs

Configuring Makefiles for your system...
Completed Makefile configuration

configure cman

Configuring Makefiles for your system...
Completed Makefile configuration

configure group

Configuring Makefiles for your system...
Completed Makefile configuration

configure dlm

Configuring Makefiles for your system...
Completed Makefile configuration

configure fence

Configuring Makefiles for your system...
Completed Makefile configuration

configure gfs-kernel

Configuring Makefiles for your system...
Completed Makefile configuration

configure gfs

Configuring Makefiles for your system...
Completed Makefile configuration

configure gfs2

Configuring Makefiles for your system...
Completed Makefile configuration

configure gnbd

Configuring Makefiles for your system...
Completed Makefile configuration

configure rgmanager

Configuring Makefiles for your system...
Completed Makefile configuration

[root@IPDDFG0595ATL2 cluster-2.00.00]# make
make -C gnbd-kernel all
make[1]: Entering directory `/opt/sources/gfs/cluster-2.00.00/gnbd-kernel'
make -C src all
make[2]: Entering directory `/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src'
make -C /usr/src/vanilla/linux-2.6.9
M=/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src modules
USING_KBUILD=yes
make[3]: Entering directory `/usr/src/vanilla/linux-2.6.9'
 CC [M]  /opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.o
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c: In function
`store_sectors':
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:181: warning:
implicit declaration of function `mutex_lock'
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:181: structure
has no member named `i_mutex'
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:183: warning:
implicit declaration of function `mutex_unlock'
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:183: structure
has no member named `i_mutex'
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c: In function
`gnbd_end_request':
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:282: too many
arguments to function `end_that_request_last'
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c: In function
`do_gnbd_request':
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:578: structure
has no member named `cmd_type'
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c: In function
`gnbd_init':
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:888: structure
has no member named `cmd_type'
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:888:
`REQ_TYPE_SPECIAL' undeclared (first use in this function)
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:888: (Each
undeclared identifier is reported only once
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:888: for each
function it appears in.)
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:893: structure
has no member named `cmd_type'
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:913:
incompatible type for argument 1 of `elevator_exit'
/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.c:914: warning:
passing arg 2 of `elevator_init' from incompatible pointer type
make[4]: *** [/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src/gnbd.o] Error 1
make[3]: *** [_module_/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src] Error 2
make[3]: Leaving directory `/usr/src/vanilla/linux-2.6.9'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/sources/gfs/cluster-2.00.00/gnbd-kernel/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/sources/gfs/cluster-2.00.00/gnbd-kernel'
make: *** [all] Error 2




Regds
mallah.

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