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