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

fail to build lustre with OFED-3.12

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 14512

    Description

      make fail with the following

      In file included from /usr/src/compat-rdma/include/linux/compat-2.6.h:19,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.h:76,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.c:41:
      /usr/src/compat-rdma/include/linux/uidgid.h:50: error: redefinition of typedef ‘kuid_t’
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:48: note: previous declaration of ‘kuid_t’ was here
      /usr/src/compat-rdma/include/linux/uidgid.h:51: error: redefinition of typedef ‘kgid_t’
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:49: note: previous declaration of ‘kgid_t’ was here
      /usr/src/compat-rdma/include/linux/uidgid.h:53: error: redefinition of ‘__kuid_val’
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:65: note: previous definition of ‘__kuid_val’ was here
      /usr/src/compat-rdma/include/linux/uidgid.h:58: error: redefinition of ‘__kgid_val’
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:70: note: previous definition of ‘__kgid_val’ was here
      In file included from /usr/src/compat-rdma/include/linux/compat-2.6.h:19,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.h:76,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.c:41:
      /usr/src/compat-rdma/include/linux/uidgid.h:68:1: error: "GLOBAL_ROOT_UID" redefined
      In file included from /usr/src/lustre-2.5.59/libcfs/include/libcfs/libcfs.h:56,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.h:71,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.c:41:
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:54:1: error: this is the location of the previous definition
      In file included from /usr/src/compat-rdma/include/linux/compat-2.6.h:19,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.h:76,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.c:41:
      /usr/src/compat-rdma/include/linux/uidgid.h:69:1: error: "GLOBAL_ROOT_GID" redefined
      In file included from /usr/src/lustre-2.5.59/libcfs/include/libcfs/libcfs.h:56,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.h:71,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.c:41:
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:55:1: error: this is the location of the previous definition
      In file included from /usr/src/compat-rdma/include/linux/compat-2.6.h:19,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.h:76,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.c:41:
      /usr/src/compat-rdma/include/linux/uidgid.h:71:1: error: "INVALID_UID" redefined
      In file included from /usr/src/lustre-2.5.59/libcfs/include/libcfs/libcfs.h:56,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.h:71,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.c:41:
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:51:1: error: this is the location of the previous definition
      In file included from /usr/src/compat-rdma/include/linux/compat-2.6.h:19,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.h:76,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.c:41:
      /usr/src/compat-rdma/include/linux/uidgid.h:72:1: error: "INVALID_GID" redefined
      In file included from /usr/src/lustre-2.5.59/libcfs/include/libcfs/libcfs.h:56,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.h:71,
      from /usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.c:41:
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:52:1: error: this is the location of the previous definition
      /usr/src/compat-rdma/include/linux/uidgid.h:74: error: redefinition of ‘uid_eq’
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:95: note: previous definition of ‘uid_eq’ was here
      /usr/src/compat-rdma/include/linux/uidgid.h:124: error: redefinition of ‘uid_valid’
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:100: note: previous definition of ‘uid_valid’ was here
      /usr/src/compat-rdma/include/linux/uidgid.h:129: error: redefinition of ‘gid_valid’
      /usr/src/lustre-2.5.59/libcfs/include/libcfs/curproc.h:105: note: previous definition of ‘gid_valid’ was here
      make[7]: *** [/usr/src/lustre-2.5.59/lnet/klnds/o2iblnd/o2iblnd.o] Error 1
      make[6]: *** [/usr/src/lustre-2.5.59/lnet/klnds/o2iblnd] Error 2
      make[5]: *** [/usr/src/lustre-2.5.59/lnet/klnds] Error 2
      make[4]: *** [/usr/src/lustre-2.5.59/lnet] Error 2
      make[3]: *** [_module_/usr/src/lustre-2.5.59] Error 2
      make[3]: Leaving directory `/usr/src/kernels/2.6.32-431.17.1.el6_lustre.gb265903.x86_64'
      make[2]: *** [modules] Error 2
      make[2]: Leaving directory `/usr/src/lustre-2.5.59'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/usr/src/lustre-2.5.59'
      make: *** [all] Error 2

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              mdiep Minh Diep
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: