<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000066" bgcolor="#ffffcc">
<tt>Jeffrey,<br>
<br>
2.6.30 already have ocfs2. ocfs2-1.4 is for enterprise kernel only
(OEL, RHEL, SLES) so, it will not build on mainline kernels. If you
want to use ocfs2 with 2.6.30, you have enable it and rebuild the
kernel.<br>
</tt>
<pre class="moz-signature" cols="72">Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering

“The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.”
</pre>
<br>
On 06/12/2010 10:00 AM, Jeffrey Layton wrote:
<blockquote
 cite="mid:AANLkTinNUZqGCRHMZJ06zavM9cf4mwpkvC68uu5-ZaTn@mail.gmail.com"
 type="cite">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>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Ocfs2-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></pre>
</blockquote>
</body>
</html>