[ofa-general] Trouble installing OFED 1.2-rc5, kernel SUSE 10.2.6.21-5 default x86_64

Jeffrey Wong jwong at datallegro.com
Fri Jun 15 14:59:23 PDT 2007


Thanks I've downloaded the latest build.  Now I get a different error:

Make ipoibtools started
make -C src/userspace/ipoibtools
make[1]: Entering directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/ipoibtools'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -include include-glibc/glibc-bugs.h -I/lib/modules/2.6.21.5-default/build/include     arping.c  -lresolv -o arping
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -include include-glibc/glibc-bugs.h -I/lib/modules/2.6.21.5-default/build/include     mcasthandle.c  -lresolv -o mcasthandle
make[1]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/ipoibtools'
make -C src/userspace/ipoibtools/iproute2 ip
make[1]: Entering directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/ipoibtools/iproute2'
make -w -C lib
make[2]: Entering directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/ipoibtools/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ll_map.o ll_map.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o libnetlink.o libnetlink.c
ar rcs libnetlink.a ll_map.o libnetlink.o
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o utils.o utils.c
utils.c: In function ‘inet_addr_match’:
utils.c:333: warning: initialization discards qualifiers from pointer target type
utils.c:334: warning: initialization discards qualifiers from pointer target type
utils.c: In function ‘__get_hz’:
utils.c:368: error: ‘HZ’ undeclared (first use in this function)
utils.c:368: error: (Each undeclared identifier is reported only once
utils.c:368: error: for each function it appears in.)
make[2]: *** [utils.o] Error 1
make[2]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/ipoibtools/iproute2/lib'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/ipoibtools/iproute2'
make: *** [ipoibtools] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.18693 (%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.18693 (%install)
ERROR: Failed executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define '_prefix /usr' --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-libmthca --with-opensm --with-librdmacm --with-libsdp --with-openib-diags --with-sdpnetstat --with-srptools --with-mstflint --with-perftest --with-tvflash --sysconfdir=/etc --mandir=/usr/share/man' --define 'configure_options32 %{nil} --sysconfdir=/etc --mandir=/usr/share/man' --define 'build_32bit 0' --define '_mandir /usr/share/man' /root/OFED-1.2-20070615-0600/SRPMS/ofa_user-1.2-rc5.src.rpm"





-----Original Message-----
From: Scott Weitzenkamp (sweitzen) [mailto:sweitzen at cisco.com]
Sent: Fri 6/15/2007 5:50 PM
To: Jeffrey Wong; general at lists.openfabrics.org
Subject: RE: [ofa-general] Trouble installing OFED 1.2-rc5,kernel SUSE 10.2.6.21-5 default x86_64
 
https://bugs.openfabrics.org/show_bug.cgi?id=558
<https://bugs.openfabrics.org/show_bug.cgi?id=558> , has been fixed
since rc5.


________________________________

	From: general-bounces at lists.openfabrics.org
[mailto:general-bounces at lists.openfabrics.org] On Behalf Of Jeffrey Wong
	Sent: Friday, June 15, 2007 2:50 PM
	To: general at lists.openfabrics.org
	Subject: [ofa-general] Trouble installing OFED 1.2-rc5,kernel
SUSE 10.2.6.21-5 default x86_64
	
	

	Hello,
	I'm getting the following error when trying to install OFED
1.2-rc5:
	
	configure: error: libpci not found.
	
	Failed to execute: cd
/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/src/userspace/tvflash && env
ac_cv_lib_ibverbs_ibv_get_device_list=yes ac_cv_he
	ader_infiniband_driver_h=yes ac_cv_func_ibv_read_sysfs_file=yes
ac_cv_func_ibv_dontfork_range=yes ac_cv_func_ibv_dofork_range=yes
ac_cv_f
	unc_ibv_register_driver=yes
HAVE_IBV_DEVICE_LIBRARY_EXTENSION_TRUE=yes  ./configure
--cache-file=/var/tmp/OFEDRPM/BUILD/ofa_user-1.2/conf
	igure.cache --disable-libcheck --prefix /usr --libdir /usr/lib64
--mandir=/usr/share/man --sysconfdir=/etc CPPFLAGS="-I../libibverbs/incl
	ude"
	error: Bad exit status from /var/tmp/rpm-tmp.30970 (%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.30970 (%install)
	ERROR: Failed executing "rpmbuild --rebuild --define '_topdir
/var/tmp/OFEDRPM' --define '_prefix /usr' --define 'build_root
/var/tmp/OFE
	D' --define 'configure_options --with-dapl --with-ipoibtools
--with-libcxgb3 --with-libibcm --with-libibcommon --with-libibmad
--with-lib
	ibumad --with-libibverbs --with-libmthca --with-opensm
--with-librdmacm --with-libsdp --with-openib-diags --with-sdpnetstat
--with-srptoo
	ls --with-mstflint --with-perftest --with-tvflash
--sysconfdir=/etc --mandir=/usr/share/man' --define 'configure_options32
%{nil} --sysco
	nfdir=/etc --mandir=/usr/share/man' --define 'build_32bit 0'
--define '_mandir /usr/share/man'
/root/OFED-1.2-rc5/SRPMS/ofa_user-1.2-rc5.
	src.rpm"
	
	
	Thanks in advance,
	
	Jeff 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070615/adb5dfac/attachment.html>


More information about the general mailing list