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

[Linux-cluster] Compile Error on RHEL4U5 - kernel 2.6.9-55.0.2.ELsmp



Dear list,

according to the documentation on http://sources.redhat.com/cluster/ and
http://sources.redhat.com/cluster/doc/usage.txt, the source should match
the actual RHEL4 kernel. As of update 5, this is version 2.6.9-55.0.2.

So I did what the notes on this page tell me:

cvs -d :pserver:cvs sources redhat com:/cvs/cluster checkout -r RHEL4 cluster

After changing to cluster, ./configure and make, I get the following error:


  CC [M]  /root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.o
/root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.c:27:28:
cluster/cnxman.h: No such file or directory
/root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.c: In function
`get_my_nodeid':
/root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.c:136: error:
dereferencing pointer to incomplete type
/root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.c:139: error:
invalid application of `sizeof' to incomplete type `kcl_cluster_node'
/root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.c:140: warning:
implicit declaration of function `kcl_get_node_by_nodeid'
/root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.c:148: error:
dereferencing pointer to incomplete type
/root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.c: In function
`gfs_setattr':
/root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.c:1589: warning:
ignoring return value of `inode_setattr', declared with attribute
warn_unused_result
make[5]: *** [/root/csgfs-build/cluster/gfs-kernel/src/gfs/ops_inode.o]
Error 1
make[4]: *** [_module_/root/csgfs-build/cluster/gfs-kernel/src/gfs] Error 2
make[4]: Leaving directory `/usr/src/kernels/2.6.9-55.0.2.EL-smp-x86_64'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/csgfs-build/cluster/gfs-kernel/src/gfs'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/root/csgfs-build/cluster/gfs-kernel/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/csgfs-build/cluster/gfs-kernel'
make: *** [all] Error 2
[root host cluster]#


What did I do wrong? Any help would be greatly appreciated!

Regards,
Sebastian


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