[LU-1108] 'configure' incorrectly set HAVE_RDMA_CREATE_ID_4ARG to 1 Created: 15/Feb/12  Updated: 16/Feb/12  Resolved: 16/Feb/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.1.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Jay Lan (Inactive) Assignee: Minh Diep
Resolution: Duplicate Votes: 0
Labels: None
Environment:

rhel 6.2 kernel
ofed kernel 1.5.4.1
wc-release b2_1


Attachments: Text File config.log    
Issue Links:
Duplicate
duplicates LU-1050 configure broken on centos6.2 with OF... Resolved
Severity: 3
Rank (Obsolete): 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.



 Comments   
Comment by Peter Jones [ 15/Feb/12 ]

Minh

Could you please advise on this one?

Thanks

Peter

Comment by Andreas Dilger [ 15/Feb/12 ]

This problem is being addressed in LU-1050 (http://review.whamcloud.com/2097).

Generated at Sat Feb 10 01:13:34 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.