Hello,
I try to install OrangeFS 2.8.7 on a Debian Wheezy with kernel version 3.2.0-4-amd64, but when doing make kmod I end up with the errors bellow. By searching on google I found a patch for OrangeFS 2.8.5 here: http://www.beowulf-underground.org/pipermail/pvfs2-developers/2012-March/004971.html but besides not being for the 2.8.7 version, it doesn't seem to change anything in pvfs2-kernel.h. Also I'm compiling this with gcc 4.7.2. Any idea (or patch) to solve this problem? Thank you, In file included from /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:7:0: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h: In function ‘pvfs2_i_set_nlink’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h:1350:5: error: assignment of read-only member ‘i_nlink’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h: In function ‘pvfs2_i_inc_nlink’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h:1359:5: error: increment of read-only member ‘i_nlink’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h: In function ‘pvfs2_i_drop_nlink’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h:1368:5: error: decrement of read-only member ‘i_nlink’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h: In function ‘pvfs2_i_clear_nlink’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h:1377:5: error: assignment of read-only member ‘i_nlink’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h: At top level: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h:1392:21: error: conflicting types for ‘kzalloc’ /usr/src/linux-headers-3.2.0-4-common/include/linux/slab.h:349:21: note: previous definition of ‘kzalloc’ was here /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h:1409:5: error: redeclaration of enumerator ‘false’ /usr/src/linux-headers-3.2.0-4-common/include/linux/stddef.h:16:2: note: previous definition of ‘false’ was here /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-kernel.h:1410:5: error: redeclaration of enumerator ‘true’ /usr/src/linux-headers-3.2.0-4-common/include/linux/stddef.h:17:2: note: previous definition of ‘true’ was here /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c: In function ‘pvfs2_gen_credentials’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:26:35: error: ‘struct task_struct’ has no member named ‘fsuid’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:27:35: error: ‘struct task_struct’ has no member named ‘fsgid’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c: In function ‘pvfs2_inode_getxattr’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:777:24: error: ‘struct task_struct’ has no member named ‘fsuid’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:778:24: error: ‘struct task_struct’ has no member named ‘fsgid’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c: In function ‘pvfs2_inode_removexattr’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:1048:25: error: ‘XATTR_REPLACE’ undeclared (first use in this function) /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:1048:25: note: each undeclared identifier is reported only once for each function it appears in /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c: In function ‘pvfs2_create_file’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:1221:5: error: ‘struct task_struct’ has no member named ‘fsuid’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:1221:5: error: ‘struct task_struct’ has no member named ‘fsgid’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c: In function ‘pvfs2_create_dir’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:1312:5: error: ‘struct task_struct’ has no member named ‘fsuid’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:1312:5: error: ‘struct task_struct’ has no member named ‘fsgid’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c: In function ‘pvfs2_create_symlink’: /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:1410:5: error: ‘struct task_struct’ has no member named ‘fsuid’ /usr/src/orangefs-2.8.7/src/kernel/linux-2.6/pvfs2-utils.c:1410:5: error: ‘struct task_struct’ has no member named ‘fsgid’ Matthieu Dorier PhD student at ENS Rennes http://people.irisa.fr/Matthieu.Dorier
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
