[ofa-general] RE: Help building ib-bonding

Moni Shoua monis at voltaire.com
Thu May 3 07:48:01 PDT 2007


I am going to release ib-bonding with a fix for bug 595 today (release
10)
However, this bug doesn't say anything about using build_32bit=-1 so
I'll have to look into it later (assuming that this is a problem)

> -----Original Message-----
> From: Vladimir Sokolovsky [mailto:vlad at dev.mellanox.co.il] 
> Sent: Thursday, May 03, 2007 5:17 PM
> To: Moni Shoua; Moni Shoua
> Cc: Jeffrey Wong; general at lists.openfabrics.org
> Subject: Re: Help building ib-bonding
> 
> Hi Moni,
> Please check ib-bonding on updated RH5.0 and FedoraC6 See 
> also https://bugs.openfabrics.org/show_bug.cgi?id=595
> 
> Thanks,
> 
> Regards,
> Vladimir
> 
> On Wed, 2007-05-02 at 17:28 -0400, Jeffrey Wong wrote:
> > Hello,
> > 
> > I am using kernel 2.6-18.8.1.1.el5 x86_64
> > 
> > I have changed the build_env.sh to have the build_32bit=-1
> > 
> >  
> > 
> > Thanks in advance.
> > 
> >  
> > 
> > Jeff
> > 
> >  
> > 
> > 
> > 
> > When installing all modules I am getting the following errors.
> > 
> >  
> > 
> > 
> > 
> > + make -C /lib/modules/2.6.18-8.1.1.el5/build modules
> > M=/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding
> > 
> > make: Entering directory `/usr/src/kernels/2.6.18-8.1.1.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/bond
> > in
> > g.h: In function 'bond_set_slave_inactive_flags':
> > 
> > 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond
> > in
> > 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/bond
> > in
> > g.h:262: error: (Each undeclared identifier is reported only once
> > 
> > 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond
> > in
> > g.h:262: error: for each function it appears in.)
> > 
> > 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond
> > in
> > g.h: In function 'bond_set_slave_active_flags':
> > 
> > 
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond
> > in
> > 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 
> > function)
> > 
> > 
> /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 
> > function)
> > 
> > 
> /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 this
> > 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 
> > function)
> > 
> > 
> /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 
> > function)
> > 
> > 
> /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 
> > function)
> > 
> > make[1]: ***
> > 
> [/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bon
> > d_
> > main.o] Error 1
> > 
> > make: ***
> > 
> [_module_/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bon
> > di
> > ng] Error 2
> > 
> > make: Leaving directory `/usr/src/kernels/2.6.18-8.1.1.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.99179 (%build)
> > 
> 
> 



More information about the general mailing list