[Ocfs2-users] compile error on sles 11
Werner Flamme
werner.flamme at ufz.de
Mon Apr 26 08:25:06 PDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
That's a bad idea. I do not like file systems that hang all clients when
the server is on reboot or unreachable. I'd rather a shared filesystem.
Regards,
Werner
Herbert van den Bergh [26.04.2010 17:13]:
>
> That's a bad idea. Use NFS instead.
>
> Thanks,
> Herbert.
>
>
> On 04/26/2010 01:48 AM, Werner Flamme wrote:
> Sunil Mushran [20.04.2010 18:28]:
>
>>>> 1.4 tree is only meant to be build against EL5 U2+. Not SLES
>>>> nor any other kernel tree. SLES9/10/11 already includes ocfs2.
>>>>
> For RHEL there are readyly built packages, why would I build my own
> packages then? The build worked fine with another SLES10.
>
> Yes, ocfs2 is included by SLES. Not SLES 11, of course - it is in the
> separately sold "High Availability" package. But the version included in
> SLES9/10 does not allow to mount a volume that has been created by RHEL
> (or, in that case, the software that is sold as Oracle Unbreakable
> Linux). It refuses to mount with "mount.ocfs2: Unsupported feature(s)
> found while opening device /dev/sdb".
>
> This sure is a feature, I know. However, I do have to share a volume
> between the Oracle RAC running on the "Oracle Unbreakable Linux" boxes
> and my SAP servers running with SLES. How can I do that? Do I really
> have to delete the filesystems on the RAC an re-create them with the
> (older) versions on SLES?
>
> Regards,
> Werner
>
>
>>>> Werner Flamme wrote:
>>>> Hi,
>>>>
>>>> next VM, next trouble :-(
>>>>
>>>> Now I work inside a VM with SLES 11. Configuring ocfs2-1.4.7 (via LANG=C
>>>> ./configure --with-kernel-source=/usr/src/linux-2.6.27.45-0.1) was
>>>> successful, but compiling fails:
>>>>
>>>> ---snip---
>>>> # LANG=C make
>>>> make -C fs
>>>> make[1]: Entering directory `/usr/local/src/ocfs2-1.4.7/fs'
>>>> make -C ocfs2 stamp-md5
>>>> make[2]: Entering directory `/usr/local/src/ocfs2-1.4.7/fs/ocfs2'
>>>> make[2]: Leaving directory `/usr/local/src/ocfs2-1.4.7/fs/ocfs2'
>>>> make -C ocfs2/cluster stamp-md5
>>>> make[2]: Entering directory `/usr/local/src/ocfs2-1.4.7/fs/ocfs2/cluster'
>>>> make[2]: Leaving directory `/usr/local/src/ocfs2-1.4.7/fs/ocfs2/cluster'
>>>> make -C ocfs2/dlm stamp-md5
>>>> make[2]: Entering directory `/usr/local/src/ocfs2-1.4.7/fs/ocfs2/dlm'
>>>> make[2]: Leaving directory `/usr/local/src/ocfs2-1.4.7/fs/ocfs2/dlm'
>>>> make -C /lib/modules/2.6.27.45-0.1-default/build
>>>> M=/usr/local/src/ocfs2-1.4.7/fs modules
>>>> make[2]: Entering directory
>>>> `/usr/src/linux-2.6.27.45-0.1-obj/x86_64/default'
>>>> make -C ../../../linux-2.6.27.45-0.1
>>>> O=/usr/src/linux-2.6.27.45-0.1-obj/x86_64/default/. modules
>>>> CC [M] /usr/local/src/ocfs2-1.4.7/fs/ocfs2/compat_should_remove_suid.o
>>>> CC [M]
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/compat_generic_segment_checks.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.7/fs/ocfs2/alloc.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.7/fs/ocfs2/aops.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.7/fs/ocfs2/buffer_head_io.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.7/fs/ocfs2/dcache.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.7/fs/ocfs2/dir.o
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/dir.c: In function 'ocfs2_readdir':
>>>> /usr/local/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] /usr/local/src/ocfs2-1.4.7/fs/ocfs2/dlmglue.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.o
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.c: In function 'ocfs2_decode_fh':
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.c:302: error: 'struct
>>>> export_operations' has no member named 'find_exported_dentry'
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.c: At top level:
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.c:311: error: unknown field
>>>> 'decode_fh' specified in initializer
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.c:311: warning:
>>>> initialization from incompatible pointer type
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.c:315: error: unknown field
>>>> 'get_dentry' specified in initializer
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.c:315: warning: excess
>>>> elements in struct initializer
>>>> /usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.c:315: warning: (near
>>>> initialization for 'ocfs2_export_ops')
>>>> make[6]: *** [/usr/local/src/ocfs2-1.4.7/fs/ocfs2/export.o] Error 1
>>>> make[5]: *** [/usr/local/src/ocfs2-1.4.7/fs/ocfs2] Error 2
>>>> make[4]: *** [_module_/usr/local/src/ocfs2-1.4.7/fs] Error 2
>>>> make[3]: *** [sub-make] Error 2
>>>> make[2]: *** [all] Error 2
>>>> make[2]: Leaving directory `/usr/src/linux-2.6.27.45-0.1-obj/x86_64/default'
>>>> make[1]: *** [build-modules] Error 2
>>>> make[1]: Leaving directory `/usr/local/src/ocfs2-1.4.7/fs'
>>>> make: *** [fs] Error 2
>>>> ---pins---
>>>>
>>>> Quite the same with ocfs2-1.4.4:
>>>> ---snip---
>>>> # LANG=C make
>>>> make -C fs
>>>> make[1]: Entering directory `/usr/local/src/ocfs2-1.4.4/fs'
>>>> make -C ocfs2 stamp-md5
>>>> make[2]: Entering directory `/usr/local/src/ocfs2-1.4.4/fs/ocfs2'
>>>> make[2]: Leaving directory `/usr/local/src/ocfs2-1.4.4/fs/ocfs2'
>>>> make -C ocfs2/cluster stamp-md5
>>>> make[2]: Entering directory `/usr/local/src/ocfs2-1.4.4/fs/ocfs2/cluster'
>>>> make[2]: Leaving directory `/usr/local/src/ocfs2-1.4.4/fs/ocfs2/cluster'
>>>> make -C ocfs2/dlm stamp-md5
>>>> make[2]: Entering directory `/usr/local/src/ocfs2-1.4.4/fs/ocfs2/dlm'
>>>> make[2]: Leaving directory `/usr/local/src/ocfs2-1.4.4/fs/ocfs2/dlm'
>>>> make -C /lib/modules/2.6.27.45-0.1-default/build
>>>> M=/usr/local/src/ocfs2-1.4.4/fs modules
>>>> make[2]: Entering directory
>>>> `/usr/src/linux-2.6.27.45-0.1-obj/x86_64/default'
>>>> make -C ../../../linux-2.6.27.45-0.1
>>>> O=/usr/src/linux-2.6.27.45-0.1-obj/x86_64/default/. modules
>>>> CC [M] /usr/local/src/ocfs2-1.4.4/fs/ocfs2/compat_should_remove_suid.o
>>>> CC [M]
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/compat_generic_segment_checks.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.4/fs/ocfs2/alloc.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.4/fs/ocfs2/aops.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.4/fs/ocfs2/buffer_head_io.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.4/fs/ocfs2/dcache.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.4/fs/ocfs2/dir.o
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/dir.c: In function 'ocfs2_readdir':
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/dir.c:865: warning: passing argument
>>>> 2 of 'ocfs2_dir_foreach_blk' from incompatible pointer type
>>>> CC [M] /usr/local/src/ocfs2-1.4.4/fs/ocfs2/dlmglue.o
>>>> CC [M] /usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.o
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.c: In function 'ocfs2_decode_fh':
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.c:233: error: 'struct
>>>> export_operations' has no member named 'find_exported_dentry'
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.c: At top level:
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.c:242: error: unknown field
>>>> 'decode_fh' specified in initializer
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.c:242: warning:
>>>> initialization from incompatible pointer type
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.c:246: error: unknown field
>>>> 'get_dentry' specified in initializer
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.c:246: warning: excess
>>>> elements in struct initializer
>>>> /usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.c:246: warning: (near
>>>> initialization for 'ocfs2_export_ops')
>>>> make[6]: *** [/usr/local/src/ocfs2-1.4.4/fs/ocfs2/export.o] Error 1
>>>> make[5]: *** [/usr/local/src/ocfs2-1.4.4/fs/ocfs2] Error 2
>>>> make[4]: *** [_module_/usr/local/src/ocfs2-1.4.4/fs] Error 2
>>>> make[3]: *** [sub-make] Error 2
>>>> make[2]: *** [all] Error 2
>>>> make[2]: Leaving directory `/usr/src/linux-2.6.27.45-0.1-obj/x86_64/default'
>>>> make[1]: *** [build-modules] Error 2
>>>> make[1]: Leaving directory `/usr/local/src/ocfs2-1.4.4/fs'
>>>> make: *** [fs] Error 2
>>>> ---pins---
>>>>
>>>> What can I do? Some software missing?
>>>>
>>>> Regards,
>>>> Werner
>>>>
>>>>>
> _______________________________________________
> 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
- --
Werner Flamme, Abt. WKDV
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-1921 - Fax (0341) 235-451921
Information nach §§ 37a HGB, 35a GmbHG:
Sitz der Gesellschaft: Leipzig
Registergericht: Amtsgericht Leipzig, Handelsregister Nr. B 4703
Vorsitzender des Aufsichtsrats: MinR Wilfried Kraus
Wissenschaftlicher Geschäftsführer: Prof. Dr. Georg Teutsch
Administrativer Geschäftsführer: Dr. Andreas Schmidt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAkvVsFIACgkQk33Krq8b42NIRwCfUyyRmz414GkEbrbCxVEng7ae
io8An2QPo6T/lApSG0nHh4BUBPLeS7gu
=Ehle
-----END PGP SIGNATURE-----
More information about the Ocfs2-users
mailing list