[ofa-general] CentOS4.5 build errors

Sasha Khapyorsky sashak at voltaire.com
Mon Nov 19 10:26:12 PST 2007


On 12:44 Mon 19 Nov     , MAHMOUD HANAFI wrote:
>  I am getting the following errors during build on centos4.5 with 
>  2.6.9-55.0.12.ELsmp kernel
> 
>  OFED Version:  OFED-1.2.5.3]
> 
> 
>  gcc -m32 -g -O2 -m32 -g -O2 -o src/.libs/perfquery src_perfquery-perfquery.o 
>   -L/usr/lib 
>  -L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5.3/src/userspace/management/libibcommon 
>  -libcommon 
>  -L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5.3/src/userspace/management/libibumad 
>  -libumad 
>  -L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5.3/src/userspace/management/libibmad 
>  -libmad 
>  -L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5.3/src/userspace/management/osm/opensm 
>  -lopensm 
>  -L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5.3/src/userspace/management/osm/libvendor 
>  -losmvendor 
>  -L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5.3/src/userspace/management/osm/complib 
>  -losmcomp ../libibcommon/.libs/libibcommon.so 
>  ../libibumad/.libs/libibumad.so ../libibmad/.libs/libibmad.so -Wl,--rpath 
>  -Wl,/usr/ofed/lib
>  src_perfquery-perfquery.o(.text+0x6a2): In function `main':
>  src/perfquery.c:229: undefined reference to `port_performance_ext_query'
>  src_perfquery-perfquery.o(.text+0x6d0):src/perfquery.c:232: undefined 
>  reference to `mad_dump_perfcounters_ext'
>  src_perfquery-perfquery.o(.text+0x7d6):src/perfquery.c:245: undefined 
>  reference to `port_performance_ext_reset'
>  collect2: ld returned 1 exit status
>  make[2]: *** [src/perfquery] Error 1

You need to build libibmad before diags. Looks at management README file
for details.

Sasha



More information about the general mailing list