The kernel has changed much. 1.2 will not build against 2.6.20.
We have updated autogen to handle rhel5, but that's still 2.6.18.
What are you trying to achieve? Why not use the ocfs2 modules
shipped natively with fc6? If you want to run database, specify
filesystemio_options=odirect in init.ora. With that you don't need
the datavolume mount option. For the voting disk/ocr, use a
block device directly. But then I seem to remember exchanging
emails with this solution.
nirmal tom wrote:> hi,
> In kernel 2.6.20-1.2925.fc6 ocfs2 fetches me this make error.How can i
> fix this?
>
> [root@server ocfs2-1.2.4]# make
> make -C fs
> make[1]: Entering directory `/opt/ocfs2-1.2.4/fs'
> make -C ocfs2 stamp-md5
> make[2]: Entering directory `/opt/ocfs2-1.2.4/fs/ocfs2'
> make[2]: Leaving directory `/opt/ocfs2-1.2.4/fs/ocfs2'
> make -C ocfs2/cluster stamp-md5
> make[2]: Entering directory `/opt/ocfs2-1.2.4/fs/ocfs2/cluster'
> make[2]: Leaving directory `/opt/ocfs2-1.2.4/fs/ocfs2/cluster'
> make -C ocfs2/dlm stamp-md5
> make[2]: Entering directory `/opt/ocfs2-1.2.4/fs/ocfs2/dlm'
> make[2]: Leaving directory `/opt/ocfs2-1.2.4/fs/ocfs2/dlm'
> make -C /lib/modules/2.6.20-1.2925.fc6/build M=/opt/ocfs2-1.2.4/fs
> modules
> make[2]: Entering directory `/usr/src/kernels/2.6.20-1.2925.fc6-i686'
> CC [M] /opt/ocfs2-1.2.4/fs/configfs/inode.o
> /opt/ocfs2-1.2.4/fs/configfs/inode.c: In function ?configfs_new_inode?:
> /opt/ocfs2-1.2.4/fs/configfs/inode.c:62: error: ?struct inode? has no
> member named ?i_blksize?
> make[4]: *** [/opt/ocfs2-1.2.4/fs/configfs/inode.o] Error 1
> make[3]: *** [/opt/ocfs2-1.2.4/fs/configfs] Error 2
> make[2]: *** [_module_/opt/ocfs2-1.2.4/fs] Error 2
> make[2]: Leaving directory `/usr/src/kernels/2.6.20-1.2925.fc6-i686'
> make[1]: *** [build-modules] Error 2
> make[1]: Leaving directory `/opt/ocfs2-1.2.4/fs'
> make: *** [fs] Error 2
>
> Thanks and regards,
> Nirmal Tom.V
>
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users