Hi, You'll need to use the 2.8.4 (OrangeFS) release at http://www.orangefs.org/download/. For kernel versions newer than 2.6.33 you'll need to use the latest Orange-Branch code from CVS, directions at http://www.orangefs.org/support/.
Let me know if you still receive compilation errors with the latest code and we can look further. Michael On Wed, Jul 13, 2011 at 1:15 PM, xokaido T. GNUcious <[email protected]> wrote: > Hello everyone... > I am unable to compile kernel module from latest pvfs2 on my Debian system > with kernel 2.6.32... > Actually, the server is being compiled without a problem but when I try to > "make kmod" it prints out errors like this: > > CC [M] /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.o > In file included from > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:7: > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-kernel.h:1341: error: > conflicting types for ‘kzalloc’ > /usr/src/linux-headers-2.6.32-5-common/include/linux/slab.h:314: error: > previous definition of ‘kzalloc’ was here > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-kernel.h:1358: error: > redeclaration of enumerator ‘false’ > /usr/src/linux-headers-2.6.32-5-common/include/linux/stddef.h:16: error: > previous definition of ‘false’ was here > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-kernel.h:1360: error: > redeclaration of enumerator ‘true’ > /usr/src/linux-headers-2.6.32-5-common/include/linux/stddef.h:18: error: > previous definition of ‘true’ was here > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c: In function > ‘pvfs2_gen_credentials’: > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:26: error: ‘struct > task_struct’ has no member named ‘fsuid’ > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:27: error: ‘struct > task_struct’ has no member named ‘fsgid’ > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c: In function > ‘pvfs2_inode_getxattr’: > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:777: error: ‘struct > task_struct’ has no member named ‘fsuid’ > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:778: error: ‘struct > task_struct’ has no member named ‘fsgid’ > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c: In function > ‘pvfs2_inode_removexattr’: > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:1048: error: > ‘XATTR_REPLACE’ undeclared (first use in this function) > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:1048: error: (Each > undeclared identifier is reported only once > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:1048: error: for > each function it appears in.) > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c: In function > ‘pvfs2_create_file’: > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:1221: error: ‘struct > task_struct’ has no member named ‘fsuid’ > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:1221: error: ‘struct > task_struct’ has no member named ‘fsgid’ > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c: In function > ‘pvfs2_create_dir’: > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:1308: error: ‘struct > task_struct’ has no member named ‘fsuid’ > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:1308: error: ‘struct > task_struct’ has no member named ‘fsgid’ > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c: In function > ‘pvfs2_create_symlink’: > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:1402: error: ‘struct > task_struct’ has no member named ‘fsuid’ > /root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.c:1402: error: ‘struct > task_struct’ has no member named ‘fsgid’ > make[5]: *** [/root/pvfs/orangefs/src/kernel/linux-2.6/pvfs2-utils.o] Error > 1 > make[4]: *** [_module_/root/pvfs/orangefs/src/kernel/linux-2.6] Error 2 > make[3]: *** [sub-make] Error 2 > make[2]: *** [all] Error 2 > make[1]: *** [default] Error 2 > make: *** [just_kmod] Error 2 > > Any help would be greatly apreciated. > > > -- > xokaido T. GNUcious <[email protected]> > _______________________________________________ > Pvfs2-users mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users >
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
