[Ocfs2-users] Problems building ocfs2-1.4.7 against Centos 5.3 and 2.6.30 kernel
Sunil Mushran
sunil.mushran at oracle.com
Sat Jun 12 09:04:53 PDT 2010
Yes, that's part of the tools. Tools are not kernel dependent. Just
install the one for rhel5 that is downloadable from oss.oracle.com.
On Jun 12, 2010, at 8:50 AM, Jeffrey Layton <laytonjb at gmail.com> wrote:
> Got it - thanks!
>
> I'm looking for /etc/init.d/o2cb and I don't see it. Does that come
> with ocfs2tools?
> (BTW - I built the tools from the tarball). I also don't see /etc/
> sysconfig/o2cb
>
> Thanks!
>
> Jeff
>
>
> On Sat, Jun 12, 2010 at 10:42 AM, Marcos E. Matsunaga <Marcos.Matsunaga at oracle.com
> > wrote:
> Jeffrey,
>
> 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.
> 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.”
>
> On 06/12/2010 10:00 AM, Jeffrey Layton wrote:
>> Good morning,
>>
>> I'm trying to build ocfs2-1.4.7 against a Centos 5.3 distro with a
>> 2.6.30 kernel. I get the following errors during compilation.
>>
>> make[1]: Entering directory `/root/src/ocfs2-1.4.7/fs'
>> make -C ocfs2 stamp-md5
>> make[2]: Entering directory `/root/src/ocfs2-1.4.7/fs/ocfs2'
>> make[2]: Leaving directory `/root/src/ocfs2-1.4.7/fs/ocfs2'
>> make -C ocfs2/cluster stamp-md5
>> make[2]: Entering directory `/root/src/ocfs2-1.4.7/fs/ocfs2/cluster'
>> make[2]: Leaving directory `/root/src/ocfs2-1.4.7/fs/ocfs2/cluster'
>> make -C ocfs2/dlm stamp-md5
>> make[2]: Entering directory `/root/src/ocfs2-1.4.7/fs/ocfs2/dlm'
>> make[2]: Leaving directory `/root/src/ocfs2-1.4.7/fs/ocfs2/dlm'
>> make -C /usr/src/kernels/linux-2.6.30 M=/root/src/ocfs2-1.4.7/fs
>> modules
>> make[2]: Entering directory `/usr/src/kernels/linux-2.6.30'
>> � CC [M]� /root/src/ocfs2-1.4.7/fs/ocfs2/compat_should_remove_sui
>> d.o
>> � CC [M]� /root/src/ocfs2-1.4.7/fs/ocfs2/
>> compat_generic_segment_checks.o
>> � CC [M]� /root/src/ocfs2-1.4.7/fs/ocfs2/alloc.o
>> � CC [M]� /root/src/ocfs2-1.4.7/fs/ocfs2/aops.o
>> � CC [M]� /root/src/ocfs2-1.4.7/fs/ocfs2/buffer_head_io.o
>> � CC [M]� /root/src/ocfs2-1.4.7/fs/ocfs2/dcache.o
>> � CC [M]� /root/src/ocfs2-1.4.7/fs/ocfs2/dir.o
>> /root/src/ocfs2-1.4.7/fs/ocfs2/dir.c: In function �ocfs2_readdi
>> r�:
>> /root/src/ocfs2-1.4.7/fs/ocfs2/dir.c:865: warning: passing argument
>> 2 of �ocfs2_dir_foreach_blk� from incompatible pointer type
>> � CC [M]� /root/src/ocfs2-1.4.7/fs/ocfs2/dlmglue.o
>> � CC [M]� /root/src/ocfs2-1.4.7/fs/ocfs2/export.o
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c: In function �ocfs2_get_de
>> ntry�:
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c:139: error: implicit
>> declaration of function �d_alloc_anon�
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c:139: warning: assignment
>> makes pointer from integer without a cast
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c: In function �ocfs2_get_pa
>> rent�:
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c:189: warning: assignment
>> makes pointer from integer without a cast
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c: In function �ocfs2_decode
>> _fh�:
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c:302: error: �struct export
>> _operations� has no member named �find_exported_dentry�
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c: At top level:
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c:311: error: unknown field
>> �decode_fh� specified in initializer
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c:311: warning:
>> initialization from incompatible pointer type
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c:315: error: unknown field
>> �get_dentry� specified in initializer
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c:315: warning: excess
>> elements in struct initializer
>> /root/src/ocfs2-1.4.7/fs/ocfs2/export.c:315: warning: (near
>> initialization for �ocfs2_export_ops�)
>> make[4]: *** [/root/src/ocfs2-1.4.7/fs/ocfs2/export.o] Error 1
>> make[3]: *** [/root/src/ocfs2-1.4.7/fs/ocfs2] Error 2
>> make[2]: *** [_module_/root/src/ocfs2-1.4.7/fs] Error 2
>> make[2]: Leaving directory `/usr/src/kernels/linux-2.6.30'
>> make[1]: *** [build-modules] Error 2
>> make[1]: Leaving directory `/root/src/ocfs2-1.4.7/fs'
>> make: *** [fs] Error 2
>>
>>
>>
>> Any suggestions?
>>
>> Thanks!
>>
>> Jeff
>>
>>
>>
>> _______________________________________________
>> Ocfs2-users mailing list
>> Ocfs2-users at oss.oracle.com
>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20100612/e7306195/attachment.html
More information about the Ocfs2-users
mailing list