Good morning,<br><br>I'm trying to build ocfs2-1.4.7 against a Centos 5.3 distro with a<br>2.6.30 kernel. I get the following errors during compilation.<br><br>make[1]: Entering directory `/root/src/ocfs2-1.4.7/fs'<br>
make -C ocfs2 stamp-md5<br>make[2]: Entering directory `/root/src/ocfs2-1.4.7/fs/ocfs2'<br>make[2]: Leaving directory `/root/src/ocfs2-1.4.7/fs/ocfs2'<br>
make -C ocfs2/cluster stamp-md5<br>make[2]: Entering directory `/root/src/ocfs2-1.4.7/fs/ocfs2/cluster'<br>make[2]: Leaving directory `/root/src/ocfs2-1.4.7/fs/ocfs2/cluster'<br>make -C ocfs2/dlm stamp-md5<br>make[2]: Entering directory `/root/src/ocfs2-1.4.7/fs/ocfs2/dlm'<br>
make[2]: Leaving directory `/root/src/ocfs2-1.4.7/fs/ocfs2/dlm'<br>make -C /usr/src/kernels/linux-2.6.30 M=/root/src/ocfs2-1.4.7/fs modules<br>make[2]: Entering directory `/usr/src/kernels/linux-2.6.30'<br> CC [M] /root/src/ocfs2-1.4.7/fs/ocfs2/compat_should_remove_suid.o<br>
CC [M] /root/src/ocfs2-1.4.7/fs/ocfs2/compat_generic_segment_checks.o<br> CC [M] /root/src/ocfs2-1.4.7/fs/ocfs2/alloc.o<br> CC [M] /root/src/ocfs2-1.4.7/fs/ocfs2/aops.o<br> CC [M] /root/src/ocfs2-1.4.7/fs/ocfs2/buffer_head_io.o<br>
CC [M] /root/src/ocfs2-1.4.7/fs/ocfs2/dcache.o<br> CC [M] /root/src/ocfs2-1.4.7/fs/ocfs2/dir.o<br>/root/src/ocfs2-1.4.7/fs/ocfs2/dir.c: In function ‘ocfs2_readdir’:<br>/root/src/ocfs2-1.4.7/fs/ocfs2/dir.c:865: warning: passing argument 2 of ‘ocfs2_dir_foreach_blk’ from incompatible pointer type<br>
CC [M] /root/src/ocfs2-1.4.7/fs/ocfs2/dlmglue.o<br> CC [M] /root/src/ocfs2-1.4.7/fs/ocfs2/export.o<br>/root/src/ocfs2-1.4.7/fs/ocfs2/export.c: In function ‘ocfs2_get_dentry’:<br>/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:139: error: implicit declaration of function ‘d_alloc_anon’<br>
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:139: warning: assignment makes pointer from integer without a cast<br>/root/src/ocfs2-1.4.7/fs/ocfs2/export.c: In function ‘ocfs2_get_parent’:<br>/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:189: warning: assignment makes pointer from integer without a cast<br>
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c: In function ‘ocfs2_decode_fh’:<br>/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:302: error: ‘struct export_operations’ has no member named ‘find_exported_dentry’<br>/root/src/ocfs2-1.4.7/fs/ocfs2/export.c: At top level:<br>
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:311: error: unknown field ‘decode_fh’ specified in initializer<br>/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:311: warning: initialization from incompatible pointer type<br>/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:315: error: unknown field ‘get_dentry’ specified in initializer<br>
/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:315: warning: excess elements in struct initializer<br>/root/src/ocfs2-1.4.7/fs/ocfs2/export.c:315: warning: (near initialization for ‘ocfs2_export_ops’)<br>make[4]: *** [/root/src/ocfs2-1.4.7/fs/ocfs2/export.o] Error 1<br>
make[3]: *** [/root/src/ocfs2-1.4.7/fs/ocfs2] Error 2<br>make[2]: *** [_module_/root/src/ocfs2-1.4.7/fs] Error 2<br>make[2]: Leaving directory `/usr/src/kernels/linux-2.6.30'<br>make[1]: *** [build-modules] Error 2<br>
make[1]: Leaving directory `/root/src/ocfs2-1.4.7/fs'<br>make: *** [fs] Error 2<br><br><br><br>Any suggestions?<br><br>Thanks!<br><br>Jeff<br><br><br>