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 21 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.t...@intel.com ___ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg ___ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
[ewg] libmlx4 build error in 1-19 build
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 21 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.t...@intel.com ___ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
Re: [ewg] libmlx4 build error in 1-19 build
On 1/20/2010 6:48 PM, 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 21 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? OFED 1.5.1 includes RDMAoE inside Eli - please fix compilation issues Thanks Tziporet ___ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg