[ofa-general] Trouble install OFED 1.2-rc3 - ib-bonding

Moni Shoua monisonlists at gmail.com
Mon May 28 23:41:02 PDT 2007


Jeffrey Wong wrote:
> Hello,
> 
> I am installing the OFED 1.2-rc3.
> 
> Everything else builds except for ib-bonding.  =
I see you have kernel 2.6.18-8.1.4.el5 which is not supported by ib-bonding.
It seems like a beta of RHEL5. Am I right?
> 
> 
>  =
> 
> 
> Thanks in advance.
> 
>  =
> 
> 
>  =
> 
> 
> I am getting the following error messages:
> 
> + make -C /lib/modules/2.6.18-8.1.4.el5/build modules
> M=3D/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding
> 
> make: Entering directory `/usr/src/kernels/2.6.18-8.1.4.el5-x86_64'
> 
>   CC [M]
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.o
> 
> In file included from
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c:78:
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin
> g.h: In function 'bond_set_slave_inactive_flags':
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin
> g.h:262: error: 'IFF_SLAVE_NEEDARP' undeclared (first use in this
> 
>  function)
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin
> g.h:262: error: (Each undeclared identifier is reported only once
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin
> g.h:262: error: for each function it appears in.)
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin
> g.h: In function 'bond_set_slave_active_flags':
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin
> g.h:268: error: 'IFF_SLAVE_NEEDARP' undeclared (first use in this
> 
>  function)
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c: In function 'bond_compute_features':
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c:1233: warning: comparison of distinct pointer types lacks a
> 
>  cast
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c: In function 'bond_enslave':
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c:1449: error: 'IFF_BONDING' undeclared (first use in this fu
> 
> nction)
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c: In function 'bond_release':
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c:1848: error: 'IFF_BONDING' undeclared (first use in this fu
> 
> nction)
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c:1849: error: 'IFF_SLAVE_NEEDARP' undeclared (first use in t
> 
> his function)
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c: In function 'bond_arp_rcv':
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c:2548: error: 'IFF_BONDING' undeclared (first use in this fu
> 
> nction)
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c: In function 'bond_netdev_event':
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c:3390: error: 'IFF_BONDING' undeclared (first use in this fu
> 
> nction)
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c: In function 'bond_init':
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c:4374: warning: assignment discards qualifiers from pointer
> 
> target type
> 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m
> ain.c:4386: error: 'IFF_BONDING' undeclared (first use in this fu
> 
> nction)
> 
> make[1]: ***
> [/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_
> main.o] Error 1
> 
> make: ***
> [_module_/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bondi
> ng] Error 2
> 
> make: Leaving directory `/usr/src/kernels/2.6.18-8.1.4.el5-x86_64'
> 
> + echo ' Building  IB bonding driver failed'
> 
>  Building  IB bonding driver failed
> 
> + exit 1
> 
> error: Bad exit status from /var/tmp/rpm-tmp.23876 (%build)
> 
>  =
> 
> 
>  =
> 
> 
>  =
> 
> 
> Jeff Wong
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general





More information about the general mailing list