[Ocfs2-users] 答复: Erros when compile...

Guozhonghua guozhonghua at h3c.com
Sun Jul 29 17:53:43 PDT 2012


Hi,

I think you are compile the kernel part of ocfs2 in ocfs2-1.4, but the ocfs2’s kernel part has been included in the linux kernel 2.6.32.
So there may be some errors, and recommend you using ocfs2-tools-1.6.4 to be compiled with linux kernel 2.6.3x.





发件人: ocfs2-users-bounces at oss.oracle.com [mailto:ocfs2-users-bounces at oss.oracle.com] 代表 Gilberto Nunes
发送时间: 2012年7月28日 1:14
收件人: ocfs2-users at oss.oracle.com
主题: [Ocfs2-users] Erros when compile...

Hi folks...

I get some errors here, when I try compile ocfs2-1.4, with a kernel 2.6.32-7 in a Debian Lenny.

That is the error:

  CC [M]  /root/ocfs2-1.4.10/fs/ocfs2/export.o
/root/ocfs2-1.4.10/fs/ocfs2/export.c: In function 'ocfs2_get_dentry':
/root/ocfs2-1.4.10/fs/ocfs2/export.c:139: error: implicit declaration of function 'd_alloc_anon'
/root/ocfs2-1.4.10/fs/ocfs2/export.c:139: warning: assignment makes pointer from integer without a cast
/root/ocfs2-1.4.10/fs/ocfs2/export.c: In function 'ocfs2_get_parent':
/root/ocfs2-1.4.10/fs/ocfs2/export.c:189: warning: assignment makes pointer from integer without a cast
/root/ocfs2-1.4.10/fs/ocfs2/export.c: In function 'ocfs2_decode_fh':
/root/ocfs2-1.4.10/fs/ocfs2/export.c:302: error: 'struct export_operations' has no member named 'find_exported_dentry'
/root/ocfs2-1.4.10/fs/ocfs2/export.c: At top level:
/root/ocfs2-1.4.10/fs/ocfs2/export.c:311: error: unknown field 'decode_fh' specified in initializer
/root/ocfs2-1.4.10/fs/ocfs2/export.c:311: warning: initialization from incompatible pointer type
/root/ocfs2-1.4.10/fs/ocfs2/export.c:315: error: unknown field 'get_dentry' specified in initializer
/root/ocfs2-1.4.10/fs/ocfs2/export.c:315: warning: initialization from incompatible pointer type
make[4]: *** [/root/ocfs2-1.4.10/fs/ocfs2/export.o] Error 1
make[3]: *** [/root/ocfs2-1.4.10/fs/ocfs2] Error 2
make[2]: *** [_module_/root/ocfs2-1.4.10/fs] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-7-pve'
make[1]: *** [build-modules] Error 2
make[1]: Leaving directory `/root/ocfs2-1.4.10/fs'
make: *** [fs] Error 2


Someone can help me please??

Thanks


--
Gilberto Nunes


(47) 9676-7530

msn: gilbertonunesferreira at hotmail.com<mailto:gilbertonunesferreira at hotmail.com>

msn: konnectati at konnectati.com.br<mailto:konnectati at konnectati.com.br>

Skype: gilberto.nunes36

Skype: konnectati


www.konnectati.com.br<http://www.konnectati.com.br>

-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120730/259607c5/attachment.html 


More information about the Ocfs2-users mailing list