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

build failure with doca-ofed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Build failure can be seen with building with external OFED

      make[3]: Entering directory '/usr/src/kernels/5.14.0-611.54.1.el9_7.x86_64'
        CC [M]  /mnt/share/lustre-release/lnet/klnds/o2iblnd/o2iblnd.o
        CC [M]  /mnt/share/lustre-release/lnet/klnds/o2iblnd/o2iblnd_cb.o
        CC [M]  /mnt/share/lustre-release/lnet/klnds/o2iblnd/o2iblnd_modparams.o
      In file included from /mnt/share/lustre-release/lnet/include/lnet/lib-types.h:29,
                       from /mnt/share/lustre-release/lnet/include/lnet/lib-lnet.h:31,
                       from /mnt/share/lustre-release/lnet/klnds/o2iblnd/o2iblnd.h:59,
                       from /mnt/share/lustre-release/lnet/klnds/o2iblnd/o2iblnd_modparams.c:14:
      /mnt/share/lustre-release/include/lustre_compat/net/genetlink.h: In function ‘compat_genl_info_dump’:
      /mnt/share/lustre-release/include/lustre_compat/net/genetlink.h:30:27: error: ‘const struct genl_dumpit_info’ has no member named ‘family’
         30 |         info->family = dgi->family;
            |                           ^~
      In file included from /mnt/share/lustre-release/lnet/include/lnet/lib-types.h:29,
                       from /mnt/share/lustre-release/lnet/include/lnet/lib-lnet.h:31,
                       from /mnt/share/lustre-release/lnet/klnds/o2iblnd/o2iblnd.h:59,
                       from /mnt/share/lustre-release/lnet/klnds/o2iblnd/o2iblnd.c:19:
      /mnt/share/lustre-release/include/lustre_compat/net/genetlink.h: In function ‘compat_genl_info_dump’:
      /mnt/share/lustre-release/include/lustre_compat/net/genetlink.h:30:27: error: ‘const struct genl_dumpit_info’ has no member named ‘family’
         30 |         info->family = dgi->family;
            |                           ^~
      In file included from /mnt/share/lustre-release/lnet/include/lnet/lib-types.h:29,
                       from /mnt/share/lustre-release/lnet/include/lnet/lib-lnet.h:31,
                       from /mnt/share/lustre-release/lnet/klnds/o2iblnd/o2iblnd.h:59,
                       from /mnt/share/lustre-release/lnet/klnds/o2iblnd/o2iblnd_cb.c:14:
      /mnt/share/lustre-release/include/lustre_compat/net/genetlink.h: In function ‘compat_genl_info_dump’:
      /mnt/share/lustre-release/include/lustre_compat/net/genetlink.h:30:27: error: ‘const struct genl_dumpit_info’ has no member named ‘family’
         30 |         info->family = dgi->family;
            |                           ^~
      
      

      The reason is our HAVE_GENL_DUMPIT_INFO macro is colliding with the one from doca-ofed

      Attachments

        Issue Links

          Activity

            People

              dongyang Dongyang Li
              dongyang Dongyang Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: