Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4677

e2fsprogs compile error on ppc64: posix-types.h:48: error: conflicting types for 'umode_t'

    XMLWordPrintable

Details

    • 3
    • 12838

    Description

      While compiling e2fsprogs against Lustre master branch on RHEL6.5/ppc64, I hit the following errors:

      In file included from /root/lustre-release/build/lustre-2.5.56//lustre/include/lustre/lustre_user.h:51,
                       from /root/lustre-release/build/lustre-2.5.56//lustre/include/lustre/lustreapi.h:46,
                       from ../lib/ext2fs/lfsck.h:10,
                       from lfsck_common.c:29:
      /root/lustre-release/build/lustre-2.5.56//libcfs/include/libcfs/posix/posix-types.h:48: error: conflicting types for 'umode_t'
      /usr/include/asm/types.h:31: note: previous declaration of 'umode_t' was here
              CC util.c
      In file included from /root/lustre-release/build/lustre-2.5.56//lustre/include/lustre/lustre_user.h:51,
                       from /root/lustre-release/build/lustre-2.5.56//lustre/include/lustre/lustreapi.h:46,
                       from ../lib/ext2fs/lfsck.h:10,
                       from lfsck.c:80:
      /root/lustre-release/build/lustre-2.5.56//libcfs/include/libcfs/posix/posix-types.h:48: error: conflicting types for 'umode_t'
      /usr/include/asm/types.h:31: note: previous declaration of 'umode_t' was here
      make[3]: *** [lfsck_common.o] Error 1
      

      The build log "build_e2fsprogs.ppc64.log" is attached.

      Attachments

        Issue Links

          Activity

            People

              yujian Jian Yu
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: