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

compile error when --disable-lru-resize is used during configure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      CC [M] /root/lustre-release/lustre/ptlrpc/../../lustre/ldlm/ldlm_pool.o
      /root/lustre-release/lustre/ptlrpc/../../lustre/ldlm/ldlm_pool.c:1442:5: error: conflicting types for ‘ldlm_pool_recalc’
      int ldlm_pool_recalc(struct ldlm_pool *pl)
      ^
      In file included from /root/lustre-release/lustre/ptlrpc/../../lustre/ldlm/ldlm_pool.c:98:0:
      /root/lustre-release/lustre/include/lustre_dlm.h:1712:10: note: previous declaration of ‘ldlm_pool_recalc’ was here
      time64_t ldlm_pool_recalc(struct ldlm_pool *pl);
      ^
      cc1: error: unrecognized command line option "-Wno-format-truncation" [-Werror]
      cc1: all warnings being treated as errors
      make[6]: *** [/root/lustre-release/lustre/ptlrpc/../../lustre/ldlm/ldlm_pool.o] Error 1
      make[5]: *** [/root/lustre-release/lustre/ptlrpc] Error 2
      make[4]: *** [/root/lustre-release/lustre] Error 2
      make[3]: *** [_module_/root/lustre-release] Error 2
      make[3]: Leaving directory `/usr/src/kernels/3.10.0-862.9.1.el7.x86_64'
      make[2]: *** [modules] Error 2
      make[2]: Leaving directory `/root/lustre-release'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/root/lustre-release'
      make: *** [all] Error 2

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: