Hi,
I'm trying to compile PVFS2 2.6.3 on a 2.6.21 kernel, both mainstream
2.6.21 and 2.6.21 with Playstation 3 patches, but there's a problem with
kzalloc. The kzalloc thing is apparently something that was broken in
2.6.2 and fixed in 2.6.3:
http://www.pvfs.org/fisheye/changelog/PVFS/?cs=pvfs-2-6-branch:slang:20070315165204
However, despite that fix (which I checked is really present in the 2.6.3
code I'm trying to compile) there is a compile error:
make[1]: Entering directory `/usr/src/kernel.org-ps3tree'
CC [M] /usr/src/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.o
In file included from
/usr/src/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c:7:
/usr/src/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-kernel.h:1267: error:
conflicting types for âkzallocâ
include/linux/slab_def.h:55: error: previous definition of âkzallocâ
was here
/usr/src/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c: In function
âpvfs2_inode_removexattrâ:
/usr/src/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c:1007: error:
âXATTR_REPLACEâ undeclared (first use in this function)
/usr/src/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c:1007: error: (Each
undeclared identifier is reported only once
/usr/src/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c:1007: error: for
each function it appears in.)
make[2]: *** [/usr/src/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.o]
Error 1
make[1]: *** [_module_/usr/src/pvfs-2.6.3/src/kernel/linux-2.6] Error 2
make[1]: Leaving directory `/usr/src/kernel.org-ps3tree'
thanks,
- Jan
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users