[ewg] libmlx4 build error in 1-19 build

Tung, Chien Tin chien.tin.tung at intel.com
Thu Jan 21 06:21:21 PST 2010


My system is a stock RHEL 5.3 x86_64.  Perhaps there is a problem with backports?

Chien

>-----Original Message-----
>From: Eli Cohen [mailto:eli at dev.mellanox.co.il]
>Sent: Thursday, January 21, 2010 6:42 AM
>To: Tung, Chien Tin
>Cc: OpenFabrics EWG
>Subject: Re: [ewg] libmlx4 build error in 1-19 build
>
>Hi Tung,
>
>I just checked this on OFED-1.5.1-20100120-0600.tgz and it worked
>without problem. Since nothing has changed in libmlx4 and the last few
>days, it shouldn't matter which version I chose. I believe the problem
>is with old header files in your system. Please remove old header
>files under /usr/include/infiniband or /usr/local/include/infiniband.
>
>The system I was using is sles11 x86_64.
>
>On Wed, Jan 20, 2010 at 09:48:41AM -0700, Tung, Chien Tin wrote:
>> I pulled down OFED 1.5.1 (OFED-1.5.1-20100119-0600.tgz, non-RDMAoE version) and got this error
>(install.pl --hpc):
>>
>> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -D_GNU_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -
>fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT buf.lo -MD -MP -MF
>.deps/buf.Tpo -c src/buf.c -o buf.o >/dev/null 2>&1
>> src/verbs.c: In function 'mlx4_create_ah':
>> src/verbs.c:686: error: 'struct ibv_port_attr' has no member named 'link_layer'
>> src/verbs.c:686: error: 'IBV_LINK_LAYER_ETHERNET' undeclared (first use in this function)
>> src/verbs.c:686: error: (Each undeclared identifier is reported only once
>> src/verbs.c:686: error: for each function it appears in.)
>> src/verbs.c:687: warning: implicit declaration of function 'ibv_cmd_get_mac'
>> make[1]: *** [verbs.lo] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>>
>>
>> similar error in MVAPICH as well.
>>
>> Perhaps something from RDMAoE leaked into this one?
>>
>> Chien
>>
>> --
>> Chien Tung | chien.tin.tung at intel.com
>>
>>
>>
>> _______________________________________________
>> ewg mailing list
>> ewg at lists.openfabrics.org
>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg



More information about the ewg mailing list