[Ocfs2-users] OCFS2 compiling problem

Zaev Aleksandr A. aazaev at rttv.ru
Fri Apr 16 05:38:57 PDT 2010


Hello! Can you help me to compile ocfs2-1.4.4 from source? I have a openSUSE 
11.2 with kernel 2.6.31.12 x86_64. When I try to compile I have some errors:

   CC [M]  /usr/src/ocfs2-1.4.4/fs/ocfs2/export.o
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c: In function ‘ocfs2_get_dentry’:
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c:71: error: implicit declaration of 
function ‘d_alloc_anon’
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c:71: warning: assignment makes pointer 
from integer without a cast
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c: In function ‘ocfs2_get_parent’:
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c:120: warning: assignment makes 
pointer from integer without a cast
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c: In function ‘ocfs2_decode_fh’:
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c:233: error: ‘struct 
export_operations’ has no member named ‘find_exported_dentry’
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c: At top level:
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c:242: error: unknown field ‘decode_fh’ 
specified in initializer
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c:242: warning: initialization from 
incompatible pointer type
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c:246: error: unknown field 
‘get_dentry’ specified in initializer
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c:246: warning: excess elements in 
struct initializer
/usr/src/ocfs2-1.4.4/fs/ocfs2/export.c:246: warning: (near initialization 
for ‘ocfs2_export_ops’)

Thank's

С уважением,
Александр Заев
Системный администратор службы информационных технологий.
-------------------------------------------------------------------------------------------

CONFIDENTIALITY.
The information contained in this transmission is intended exclusively
for the proper use by the intended addressees and may contain
confidential and/or privileged material. Any views expressed in this
transmission are those of the individual sender, except where the
transmission states otherwise and the sender being authorised
appropriately. Any review, dissemination and other use of this
information, as well as any action in reliance upon this information by
persons and/or entities other than the intended addressees is
prohibited. If you received this information in error, please note that no
confidentiality or privilege is waived or lost by any miss-transmission.
Note that we monitor e-mails sent or received. Further communication
will signify your consent to the above.


More information about the Ocfs2-users mailing list