<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7234.20">
<TITLE>Trouble install OFED 1.2-rc3 - ib-bonding</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hello,<BR>
<BR>
I am installing the OFED 1.2-rc3.<BR>
<BR>
Everything else builds except for ib-bonding. =<BR>
<BR>
<BR>
=<BR>
<BR>
<BR>
Thanks in advance.<BR>
<BR>
=<BR>
<BR>
<BR>
=<BR>
<BR>
<BR>
I am getting the following error messages:<BR>
<BR>
+ make -C /lib/modules/2.6.18-8.1.4.el5/build modules<BR>
M=3D/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding<BR>
<BR>
make: Entering directory `/usr/src/kernels/2.6.18-8.1.4.el5-x86_64'<BR>
<BR>
CC [M]<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.o<BR>
<BR>
In file included from<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c:78:<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin<BR>
g.h: In function 'bond_set_slave_inactive_flags':<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin<BR>
g.h:262: error: 'IFF_SLAVE_NEEDARP' undeclared (first use in this<BR>
<BR>
function)<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin<BR>
g.h:262: error: (Each undeclared identifier is reported only once<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin<BR>
g.h:262: error: for each function it appears in.)<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin<BR>
g.h: In function 'bond_set_slave_active_flags':<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bondin<BR>
g.h:268: error: 'IFF_SLAVE_NEEDARP' undeclared (first use in this<BR>
<BR>
function)<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c: In function 'bond_compute_features':<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c:1233: warning: comparison of distinct pointer types lacks a<BR>
<BR>
cast<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c: In function 'bond_enslave':<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c:1449: error: 'IFF_BONDING' undeclared (first use in this fu<BR>
<BR>
nction)<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c: In function 'bond_release':<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c:1848: error: 'IFF_BONDING' undeclared (first use in this fu<BR>
<BR>
nction)<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c:1849: error: 'IFF_SLAVE_NEEDARP' undeclared (first use in t<BR>
<BR>
his function)<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c: In function 'bond_arp_rcv':<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c:2548: error: 'IFF_BONDING' undeclared (first use in this fu<BR>
<BR>
nction)<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c: In function 'bond_netdev_event':<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c:3390: error: 'IFF_BONDING' undeclared (first use in this fu<BR>
<BR>
nction)<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c: In function 'bond_init':<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c:4374: warning: assignment discards qualifiers from pointer<BR>
<BR>
target type<BR>
<BR>
/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_m<BR>
ain.c:4386: error: 'IFF_BONDING' undeclared (first use in this fu<BR>
<BR>
nction)<BR>
<BR>
make[1]: ***<BR>
[/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_<BR>
main.o] Error 1<BR>
<BR>
make: ***<BR>
[_module_/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bondi<BR>
ng] Error 2<BR>
<BR>
make: Leaving directory `/usr/src/kernels/2.6.18-8.1.4.el5-x86_64'<BR>
<BR>
+ echo ' Building IB bonding driver failed'<BR>
<BR>
Building IB bonding driver failed<BR>
<BR>
+ exit 1<BR>
<BR>
error: Bad exit status from /var/tmp/rpm-tmp.23876 (%build)<BR>
<BR>
=<BR>
<BR>
<BR>
=<BR>
<BR>
<BR>
=<BR>
<BR>
<BR>
Jeff Wong<BR>
</FONT>
</P>
</BODY>
</HTML>