[ofa-general] CentOS4.5 build errors

MAHMOUD HANAFI hanafim.ctr at asc.hpc.mil
Mon Nov 19 09:44:28 PST 2007


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
make[2]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5.3/src/userspace/management/diags'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5.3/src/userspace/management/diags'
make: *** [diags] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.23212 (%install)


RPM build errors:
     user vlad does not exist - using root
     group vlad does not exist - using root
     user vlad does not exist - using root
     group vlad does not exist - using root
     Bad exit status from /var/tmp/rpm-tmp.23212 (%install)
ERROR: Failed executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define '_prefix 
/usr/ofed' --define 'build_root /var/tmp/OFED' --define 'configure_options --with-dapl 
--with-ipoibtools --with-libcxgb3 --with-libibcm --with-libibcommon --with-libibmad --with-libibumad 
--with-libibverbs --with-libipathverbs --with-libmlx4 --with-libmthca --with-opensm --with-librdmacm 
--with-libsdp --with-openib-diags --with-qlvnictools --with-sdpnetstat --with-srptools 
--with-mstflint --with-perftest --with-tvflash --sysconfdir=/etc --mandir=/usr/share/man' --define 
'configure_options32 --with-dapl --with-ipoibtools --with-libcxgb3 --with-libibcm --with-libibcommon 
--with-libibmad --with-libibumad --with-libibverbs --with-libipathverbs --with-libmlx4 
--with-libmthca --with-opensm --with-librdmacm --with-libsdp --with-openib-diags --with-qlvnictools 
--with-sdpnetstat --with-srptools --sysconfdir=/etc --mandir=/usr/share/man' --define 'build_32bit 
1' --define '_mandir /usr/share/man' 
/export/DISTRO/centos4.5/OFED-1.2.5.3/SRPMS/ofa_user-1.2.5.3-0.src.rpm"
[root at spirit-adm OFED-1.2.5.3]# uname -a
Linux spirit-adm 2.6.9-55.0.12.ELsmp #1 SMP Fri Nov 2 12:38:56 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
[root at spirit-adm OFED-1.2.5.3]#

-- 
Mahmoud Hanafi
Senior System Administrator
ASC/MSRC
www.asc.hpc.mil
2435 5th Street
WPAFB, OHIO 45433
(937) 255-1536



More information about the general mailing list