[ofa-general] ofed build errors with centos4.5 2.6.9-55.0.12.ELsmp

MAHMOUD HANAFI hanafim.ctr at asc.hpc.mil
Mon Nov 19 14:22:45 PST 2007


I have been unable to build any of the 1.2.5.x using the build.sh script. Has any one seen this 
before...

thanks,
----


Building ofa_user RPMs. Please wait...

Running rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define '_prefix /usr/local/ofed' 
--define 'build_root /var/tmp/OFED' --define 'configure_options --with-libcxgb3 --with-libibcm 
--with-libibcommon --with-libibumad --with-libibverbs --with-libipathverbs --with-libmlx4 
--with-libmthca --with-librdmacm --with-qlvnictools --with-mstflint --with-perftest 
--sysconfdir=/etc --mandir=/usr/share/man' --define 'configure_options32 --with-libcxgb3 
--with-libibcm --with-libibcommon --with-libibumad --with-libibverbs --with-libipathverbs 
--with-libmlx4 --with-libmthca --with-librdmacm --with-qlvnictools --sysconfdir=/etc 
--mandir=/usr/share/man' --define 'build_32bit 1' --define '_mandir /usr/share/man' 
/export/DISTRO/centos4.5/OFED-1.2.5/SRPMS/ofa_user-1.2.5-0.src.rpm
-
ERROR: Failed executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define '_prefix 
/usr/local/ofed' --define 'build_root /var/tmp/OFED' --define 'configure_options --with-libcxgb3 
--with-libibcm --with-libibcommon --with-libibumad --with-libibverbs --with-libipathverbs 
--with-libmlx4 --with-libmthca --with-librdmacm --with-qlvnictools --with-mstflint --with-perftest 
--sysconfdir=/etc --mandir=/usr/share/man' --define 'configure_options32 --with-libcxgb3 
--with-libibcm --with-libibcommon --with-libibumad --with-libibverbs --with-libipathverbs 
--with-libmlx4 --with-libmthca --with-librdmacm --with-qlvnictools --sysconfdir=/etc 
--mandir=/usr/share/man' --define 'build_32bit 1' --define '_mandir /usr/share/man' 
/export/DISTRO/centos4.5/OFED-1.2.5/SRPMS/ofa_user-1.2.5-0.src.rpm"

See log file: /tmp/OFED.build.24587.log


Press Enter to continue...

---output from /tmp/OFED.build.24587.log---

gcc -shared  .libs/src_librdmacm_la-cma.o  -L/usr/lib 
-L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/src/userspace/libibverbs/src -libverbs 
-L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/src/userspace/librdmacm  -m32 
-Wl,--version-script=./src/librdmacm.map -Wl,-soname -Wl,librdmacm.so.1 -o src/.libs/librdmacm.so.1.0.0
(cd src/.libs && rm -f librdmacm.so.1 && ln -s librdmacm.so.1.0.0 librdmacm.so.1)
(cd src/.libs && rm -f librdmacm.so && ln -s librdmacm.so.1.0.0 librdmacm.so)
ar cru src/.libs/librdmacm.a  src_librdmacm_la-cma.o
ranlib src/.libs/librdmacm.a
creating src/librdmacm.la
(cd src/.libs && rm -f librdmacm.la && ln -s ../librdmacm.la librdmacm.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include  -I../libibverbs/include -g -Wall -D_GNU_SOURCE -m32 
-g -O2 -L/usr/lib -MT cmatose.o -MD -MP -MF ".deps/cmatose.Tpo" -c -o cmatose.o `test -f 
'examples/cmatose.c' || echo './'`examples/cmatose.c; \
then mv -f ".deps/cmatose.Tpo" ".deps/cmatose.Po"; else rm -f ".deps/cmatose.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc -g -Wall -D_GNU_SOURCE -m32 -g -O2 -L/usr/lib 
-L../libibverbs/src -libverbs -L. -o examples/ucmatose  cmatose.o ./src/librdmacm.la
gcc -g -Wall -D_GNU_SOURCE -m32 -g -O2 -o examples/.libs/ucmatose cmatose.o  -L/usr/lib 
-L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/src/userspace/libibverbs/src -libverbs 
-L/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/src/userspace/librdmacm ./src/.libs/librdmacm.so -Wl,--rpath 
-Wl,/usr/local/ofed/lib
./src/.libs/librdmacm.so: undefined reference to `ibv_copy_ah_attr_from_kern'
collect2: ld returned 1 exit status
make[2]: *** [examples/ucmatose] Error 1
make[2]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/src/userspace/librdmacm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2.5/src/userspace/librdmacm'
make: *** [librdmacm] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.98738 (%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.98738 (%install)
ERROR: Failed executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define '_prefix 
/usr/local/ofed' --define 'build_root /var/tmp/OFED' --define 'configure_options --with-libcxgb3 
--with-libibcm --with-libibcommon --with-libibumad --with-libibverbs --with-libipathverbs 
--with-libmlx4 --with-libmthca --with-librdmacm --with-qlvnictools --with-mstflint --with-perftest 
--sysconfdir=/etc --mandir=/usr/share/man' --define 'configure_options32 --with-libcxgb3 
--with-libibcm --with-libibcommon --with-libibumad --with-libibverbs --with-libipathverbs 
--with-libmlx4 --with-libmthca --with-librdmacm --with-qlvnictools --sysconfdir=/etc 
--mandir=/usr/share/man' --define 'build_32bit 1' --define '_mandir /usr/share/man' 
/export/DISTRO/centos4.5/OFED-1.2.5/SRPMS/ofa_user-1.2.5-0.src.rpm"
~




More information about the general mailing list