Hello and thanks for replying, i used [pvfs-2.8.1]$ sudo ./configure --with-kernel=/usr/src/linux-2.6.35.7 [~]$ uname -aLinux 2.6.35.7-23Mar #3 SMP x86_64 x86_64 x86_64 GNU/Linux [~]$ cat /etc/*-releaseCentOS release 5.5 (Final) Thanks From: [email protected] To: [email protected] Date: Fri, 10 Feb 2012 11:25:37 -0500 Subject: RE: [Pvfs2-users] Problem with 'sudo make kmod' when trying to load the pvfs2 kernel module
First, you appear to be using PVFS2/OrangeFS 2.8.1. You may want to get the latest OrangeFS, 2.8.5, from orangefs.org. What distribution of Linux/UNIX are you on (CentOS, Ubuntu, etc.)? SUSE has slightly different instructions I can provide. What did you use for your --with-kernel on ./configure? Usually it should be something like /usr/src/linux-2.6.32.54-0.3. Or you can possibly supply /lib/modules/`uname -r`/build, which is a link to the source. Thanks,Sam SampsonOmnibond, LLC From: [email protected] [mailto:[email protected]] On Behalf Of g_p g_p Sent: Friday, February 10, 2012 10:04 AM To: pvfs2 Subject: [Pvfs2-users] Problem with 'sudo make kmod' when trying to load the pvfs2 kernel module Hello, i'm trying to execute the command: "sudo make kmod" and i receive the following output: CC [M] /usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.oIn file included from /usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:7:/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-kernel.h:1272: error: conflicting types for âkzallocâinclude/linux/slab.h:320: error: previous definition of âkzallocâ was here/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_gen_credentialsâ:/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:22: error: âstruct task_structâ has no member named âfsuidâ/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:23: error: âstruct task_structâ has no member named âfsgidâ/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_inode_getxattrâ:/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:752: error: âstruct task_structâ has no member named âfsuidâ/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:752: error: âstruct task_structâ has no member named âfsgidâ/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_inode_rem ovexattrâ:/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1019: error: âXATTR_REPLACEâ undeclared (first use in this function)/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1019: error: (Each undeclaredidentifier is reported only once/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1019: error: for each function it appears in.)/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_create_fileâ:/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1192: error: âstruct task_structâ has no member named âfsuidâ/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1192: error: âstruct task_structâ has no member named âfsgidâ/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_create_dirâ:/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1279: error: âstruct task_structâ has no member named âfsuidâ/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1279: error: âstruct task_structâ has no member named âfsgidâ/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In function âpvfs2_create_symlinkâ:/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1373: error: âstruct task_structâ has no member named âfsuidâ/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1373: error: âstruct task_structâ has no member named âfsgidâmake[3]: *** [/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.o] Error 1make[2]: *** [_module_/usr/pvfs-2.8.1/src/kernel/linux-2.6] Error 2make[1]: *** [default] Error 2make: *** [just_kmod] Error 2 What shall i do in order to fix that? Thanks, in advance _______________________________________________ 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
