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

'configure' incorrectly set HAVE_RDMA_CREATE_ID_4ARG to 1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.1.0
    • None
    • rhel 6.2 kernel
      ofed kernel 1.5.4.1
      wc-release b2_1
    • 3
    • 6455

    Description

      Building of lustre-2.1.1 rc2 failed in configuration stage with errors:

      configure:9856: result: no
      configure:9863: error: can't compile with OpenIB gen2 headers under /usr/src/ofa_kernel-lustre211

      The configuration log 'config.log' is attached. The configure command as shown in log is:
      $ ./configure --enable-ext4 --disable-liblustre --with-o2ib=/usr/src/ofa_kernel-lustre211 --with-linux=/usr/src/kernels/2.6.32-220.4.1.el6.20120130.x86_64.lustre211 --with-downstream-release=0.2nasS_ofed154

      The <rdma/rdma_cm.h> from rhel6.2 contains rdma_create_id prototype with 4 arguments, but the rdma_cm.h from ofed 1.5.4.1 contains rdma_create_id prototype with 3 arguments. I believe the headers from ofed should take precedence over the one from kernel. "Configure" failed in my case because it was incorrectly determined to set HAVE_RDMA_CREATE_ID_4ARG to 1.

      Attachments

        Issue Links

          Activity

            People

              mdiep Minh Diep
              jaylan Jay Lan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: