[Ocfs2-users] compile error on sles 11

Werner Flamme werner.flamme at ufz.de
Tue Apr 20 06:31:30 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkvNrLEACgkQk33Krq8b42PwJwCggfMUexTLMx9p4Tbd/y1ivpU5
XeIAn31QOI6rr4SmTYppCHrUaSMtfUfW
=6dgQ
-----END PGP SIGNATURE-----



More information about the Ocfs2-users mailing list