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

[Linux-cluster] error: 'struct inode' has no member named 'i_mutex'



Hi!

I tried to compile the cluster 1.02 against debian kernel 2.6.15

./configure --kernel_src=/usr/src/linux-source-2.6.15
make install

but the compilation fails:

....
/usr/src/cluster-1.02.00/gfs-kernel/src/gfs/ops_file.c: In function
'gfs_write':
/usr/src/cluster-1.02.00/gfs-kernel/src/gfs/ops_file.c:955: warning:
implicit declaration of function 'mutex_lock'
/usr/src/cluster-1.02.00/gfs-kernel/src/gfs/ops_file.c:955: error:
'struct inode' has no member named 'i_mutex'
/usr/src/cluster-1.02.00/gfs-kernel/src/gfs/ops_file.c:960: warning:
implicit declaration of function 'mutex_unlock'
/usr/src/cluster-1.02.00/gfs-kernel/src/gfs/ops_file.c:960: error:
'struct inode' has no member named 'i_mutex'
make[5]: *** [/usr/src/cluster-1.02.00/gfs-kernel/src/gfs/ops_file.o]
Error 1
make[4]: *** [_module_/usr/src/cluster-1.02.00/gfs-kernel/src/gfs] Error
2
make[4]: Leaving directory `/usr/src/linux-source-2.6.15'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/cluster-1.02.00/gfs-kernel/src/gfs'
...

What em I doing wrong?

Another thing are messages like:
*** Warning:
"kcl_addref_cluster" [/usr/src/cluster-1.02.00/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning:
"kcl_get_services" [/usr/src/cluster-1.02.00/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning:
"kcl_cluster_name" [/usr/src/cluster-1.02.00/gfs-kernel/src/dlm/lock_dlm.ko] undefined!

Is that ok?

Thanks for advices.

David



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