[openib-general] Installation on openSUSE 10.2 Beta1 fails

Tziporet Koren tziporet at dev.mellanox.co.il
Wed Nov 8 06:20:53 PST 2006


Diego Guella wrote:
> OFED.29778.log attached.
> The 'interesting' part of the log is:
> -----
> 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/openib-1.1/src/userspace/ipoibtools/iproute2/lib'
> make[1]: *** [lib] Error 2
> make[1]: Leaving directory 
> `/var/tmp/OFEDRPM/BUILD/openib-1.1/src/userspace/ipoibtools/iproute2'
> make: *** [ipoibtools] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.4033 (%install)
> -----
> Here, I give up: I don't understand where 'HZ' should be defined, or 
> where it comes from.
> Where is the problem?
> Is there a solution to fix it?
The failing is utility is used for IPoIB high availability. If you don't 
need to use them you can just change this line in ofed.conf:
ipoibtools=n

Tziporet





More information about the general mailing list