|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] xen-3.0.2-2 and redhat-cluster (gfs/clvm/etc)
Hi all,
i was just wondering if anyone has successfully compiled redhat-cluster with a
2.6.16 xen0 kernel?
Have also posted to redhat-cluster mailinglist, but though i could try here??
I have tried compiling (on debian sarge) with the following redhat-cluster
sources
ftp://sources.redhat.com/pub/cluster/releases/cluster-1.01.00.tar.gz
ftp://sources.redhat.com/pub/cluster/releases/cluster-1.02.00.tar.gz
and
cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxxx:/cvs/cluster checkout -r STABLE cluster
but get various compilation errors with all
All build attempts have been built against the kernel tree in
/xen-3.0.2-2/linux-2.6.16-xen0
Here is the error for cluster-1.01
/usr/src/cluster-1.01.00/gfs-kernel/src/gfs/ops_file.c: In function
`gfs_write':
/usr/src/cluster-1.01.00/gfs-kernel/src/gfs/ops_file.c:934: error: structure
has no member named `i_sem'
/usr/src/cluster-1.01.00/gfs-kernel/src/gfs/ops_file.c:939: error: structure
has no member named `i_sem'
make[4]: *** [/usr/src/cluster-1.01.00/gfs-kernel/src/gfs/ops_file.o] Error 1
make[3]: *** [_module_/usr/src/cluster-1.01.00/gfs-kernel/src/gfs] Error 2
make[3]: Leaving directory `/home/jfrazer/xen-3.0.2-2/linux-2.6.16-xen0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/cluster-1.01.00/gfs-kernel/src/gfs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/cluster-1.01.00/gfs-kernel/src'
make: *** [install] Error 2
and for cluster-1.02
make[5]: Entering directory `/usr/src/cluster-1.02.00/gnbd/tools/gnbd_export'
gcc -Wall -I../../include -I../../server -I../../utils -I../../config
-I//usr/include -O2 -DGNBD_RELEASE_NAME=\"1.02.00\"
gnbd_export.c ../../utils/gnbd_utils.c ../../utils/trans.c -L//usr/lib -lmagma
-ldl -lpthread -lsysfs -o
gnbd_export
gnbd_export.c: In function `get_sysfs_name':
gnbd_export.c:358: warning: implicit declaration of function
`sysfs_open_directory'
gnbd_export.c:358: warning: assignment makes pointer from integer without a
cast
gnbd_export.c:364: warning: implicit declaration of function
`sysfs_get_dir_subdirs'
gnbd_export.c:364: warning: assignment makes pointer from integer without a
cast
gnbd_export.c:372: warning: implicit declaration of function
`sysfs_get_directory_attribute'
gnbd_export.c:372: warning: assignment makes pointer from integer without a
cast
gnbd_export.c:384: error: dereferencing pointer to incomplete type
gnbd_export.c:384: error: dereferencing pointer to incomplete type
gnbd_export.c:384: error: dereferencing pointer to incomplete type
gnbd_export.c:384: error: dereferencing pointer to incomplete type
gnbd_export.c:384: error: dereferencing pointer to incomplete type
gnbd_export.c:384: error: dereferencing pointer to incomplete type
gnbd_export.c:384: error: dereferencing pointer to incomplete type
gnbd_export.c:392: warning: implicit declaration of function
`sysfs_close_directory'
make[5]: *** [gnbd_export] Error 1
make[5]: Leaving directory `/usr/src/cluster-1.02.00/gnbd/tools/gnbd_export'
make[4]: *** [copytobin] Error 2
make[4]: Leaving directory `/usr/src/cluster-1.02.00/gnbd/tools'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/cluster-1.02.00/gnbd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/cluster-1.02.00/gnbd/bin'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/cluster-1.02.00/gnbd'
make: *** [install] Error 2
and for cvs
rm -f linux lm_interface.h
ln -s . linux
ln -s ../../src/harness/lm_interface.h .
make -C /home/jfrazer/xen-3.0.2-2/linux-2.6.16-xen0
M=/usr/src/cluster/gfs-kernel/src/nolock
symverfile=/usr/src/cluster/gfs-kernel/src/nolock/../harness/lock_harness.symvers
modules USING_KBUILD=yes
make[4]: Entering directory `/home/jfrazer/xen-3.0.2-2/linux-2.6.16-xen0'
CC [M] /usr/src/cluster/gfs-kernel/src/nolock/main.o
/usr/src/cluster/gfs-kernel/src/nolock/main.c: In function `nolock_plock_get':
/usr/src/cluster/gfs-kernel/src/nolock/main.c:250: error: too many arguments
to function `posix_test_lock'
/usr/src/cluster/gfs-kernel/src/nolock/main.c:250: warning: assignment makes
integer from pointer without a cast
make[5]: *** [/usr/src/cluster/gfs-kernel/src/nolock/main.o] Error 1
make[4]: *** [_module_/usr/src/cluster/gfs-kernel/src/nolock] Error 2
make[4]: Leaving directory `/home/jfrazer/xen-3.0.2-2/linux-2.6.16-xen0'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/cluster/gfs-kernel/src/nolock'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/usr/src/cluster/gfs-kernel/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/cluster/gfs-kernel'
make: *** [install] Error 2
If anyone has any suggestions or can tell me what sources from redhat-cluster
will build against which kernels would be great!!!
Many thanks
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] xen-3.0.2-2 and redhat-cluster (gfs/clvm/etc),
Jim Frazer <=
|
|
|
|
|