[Ocfs2-users] upgrading tools from 1.4.1 to 1.4.2 @debian

sylarrrrrrr at aim.com sylarrrrrrr at aim.com
Sat Jul 4 02:47:55 PDT 2009


Hi,



I want to upgrade ocfs2-tools in debian from 1.4.1 to 1.4.2. I managed to compile .deb from the ocfs2-tools source (by copying the debian package 'debian' folder from the 1.4.1 debian source to the oracle source of the, and adding an empty entry to the debian/changelog with the new version number)



I see in 



http://oss.oracle.com/projects/ocfs2/dist/documentation/v1.2/ocfs2_faq.html#UPGRADE 



that I should upgrade the module too, but I can't find the module package in debian, or the source for the module in oracle.



I found this:



http://oss.oracle.com/projects/ocfs2/files/source/v1.4/



but it didn't compile, and I am not sure if it is the module source there. Errors:





make[2]: Entering directory `/usr/src/linux-headers-2.6.26-2-amd64'
  CC [M]  /tmp/ocfs2-1.4.2/fs/ocfs2/compat_should_remove_suid.o
  CC [M]  /tmp/ocfs2-1.4.2/fs/ocfs2/compat_generic_segment_checks.o
  CC [M]  /tmp/ocfs2-1.4.2/fs/ocfs2/alloc.o
  CC [M]  /tmp/ocfs2-1.4.2/fs/ocfs2/aops.o
  CC [M]  /tmp/ocfs2-1.4.2/fs/ocfs2/buffer_head_io.o
  CC [M]  /tmp/ocfs2-1.4.2/fs/ocfs2/dcache.o
  CC [M]  /tmp/ocfs2-1.4.2/fs/ocfs2/dir.o
/tmp/ocfs2-1.4.2/fs/ocfs2/dir.c: In function 'ocfs2_readdir':
/tmp/ocfs2-1.4.2/fs/ocfs2/dir.c:865: warning: passing argument 2 of 'ocfs2_dir_foreach_blk' from incompatible pointer type
  CC [M]  /tmp/ocfs2-1.4.2/fs/ocfs2/dlmglue.o
  CC [M]  /tmp/ocfs2-1.4.2/fs/ocfs2/export.o
/tmp/ocfs2-1.4.2/fs/ocfs2/export.c: In function 'ocfs2_decode_fh':
/tmp/ocfs2-1.4.2/fs/ocfs2/export.c:233: error: 'struct export_operations' has no member named 'find_exported_dentr
y'
/tmp/ocfs2-1.4.2/fs/ocfs2/export.c: At top level:
/tmp/ocfs2-1.4.2/fs/ocfs2/export.c:242: error: unknown field 'decode_fh' specified in initializer
/tmp/ocfs2-1.4.2/fs/ocfs2/export.c:242: warning: initialization from incompatible pointer type
/tmp/ocfs2-1.4.2/fs/ocfs2/export.c:246: error: unknown field 'get_dentry' specified in initializer
/tmp/ocfs2-1.4.2/fs/ocfs2/export.c:246: warning: excess elements in struct initializer
/tmp/ocfs2-1.4.2/fs/ocfs2/export.c:246: warning: (near initialization for 'ocfs2_export_ops')
make[4]: *** [/tmp/ocfs2-1.4.2/fs/ocfs2/export.o] Error 1
make[3]: *** [/tmp/ocfs2-1.4.2/fs/ocfs2] Error 2
make[2]: *** [_module_/tmp/ocfs2-1.4.2/fs] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-2-amd64'
make[1]: *** [build-modules] Error 2
make[1]: Leaving directory `/tmp/ocfs2-1.4.2/fs'
make: *** [fs] Error 2



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090704/61cd3090/attachment.html 


More information about the Ocfs2-users mailing list