[ofa-general] build failure on nightly tarball -- bonding
Moni Shoua
monisonlists at gmail.com
Sun Mar 4 02:06:00 PST 2007
Andrew Friedley wrote:
> The chelsio build errors from yesterday appear to be gone, though now
> I'm seeing errors building the IB bonding code with the 3/2 alpha
> tarball -- error below. I'm wondering, is there a way to selectively
> avoid building things like this that seem to be optional, as a tarball
> user?
>
> Andrew
For the error messages.... It seems to me that the problem is one that I have already fixed.
The corrected source RPM is in my home dir.
>
> In file included from
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:78:
>
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:
> In function `bond_set_slave_inactive_flags':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:260:
> error: `IFF_SLAVE_INACTIVE' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:260:
> error: (Each undeclared identifier is reported only once
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:260:
> error: for each function it appears in.)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.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/bonding.h:
> In function `bond_set_slave_active_flags':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:268:
> error: `IFF_SLAVE_INACTIVE' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.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/bonding.h:
> In function `bond_set_master_3ad_flags':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:273:
> error: `IFF_MASTER_8023AD' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:
> In function `bond_unset_master_3ad_flags':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:278:
> error: `IFF_MASTER_8023AD' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:
> In function `bond_set_master_alb_flags':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:283:
> error: `IFF_MASTER_ALB' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:
> In function `bond_unset_master_alb_flags':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bonding.h:288:
> error: `IFF_MASTER_ALB' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> At top level:
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:129:
> error: invalid lvalue in unary `&'
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:129:
> error: initializer element is not constant
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:129:
> error: (near initialization for `__param_arr_arp_ip_target.num')
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:149:
> error: `BOND_XMIT_POLICY_LAYER2' undeclared here (not in a function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:171:
> error: initializer element is not constant
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:171:
> error: (near initialization for `xmit_hashtype_tbl[0].mode')
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:171:
> error: initializer element is not constant
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:171:
> error: (near initialization for `xmit_hashtype_tbl[0]')
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:172:
> error: `BOND_XMIT_POLICY_LAYER34' undeclared here (not in a function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:172:
> error: initializer element is not constant
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:172:
> error: (near initialization for `xmit_hashtype_tbl[1].mode')
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:172:
> error: initializer element is not constant
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:172:
> error: (near initialization for `xmit_hashtype_tbl[1]')
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:173:
> error: initializer element is not constant
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:173:
> error: (near initialization for `xmit_hashtype_tbl[2]')
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> In function `bond_compute_features':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:1230:
> error: `NETIF_F_ALL_CSUM' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:1230:
> error: `NETIF_F_UFO' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> In function `bond_enslave':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:1428:
> warning: implicit declaration of function `dev_set_mac_address'
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.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_main.c:
> In function `bond_release':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:1847:
> error: `IFF_MASTER_8023AD' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:1847:
> error: `IFF_MASTER_ALB' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:1848:
> error: `IFF_SLAVE_INACTIVE' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.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_main.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_main.c:
> In function `bond_release_all':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:1939:
> error: `IFF_MASTER_8023AD' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:1939:
> error: `IFF_MASTER_ALB' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:1940:
> error: `IFF_SLAVE_INACTIVE' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> In function `bond_glean_dev_ip':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:2331:
> warning: implicit declaration of function `__in_dev_get_rcu'
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:2331:
> warning: assignment makes pointer from integer without a cast
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> In function `bond_arp_rcv':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.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_main.c:
> In function `bond_slave_netdev_event':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:3364:
> error: `NETDEV_FEAT_CHANGE' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> In function `bond_netdev_event':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.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_main.c:
> In function `bond_register_lacpdu':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:3477:
> warning: assignment from incompatible pointer type
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> In function `bond_register_arp':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:3494:
> warning: assignment from incompatible pointer type
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> At top level:
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:4340:
> error: unknown field `get_ufo' specified in initializer
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:4340:
> error: `ethtool_op_get_ufo' undeclared here (not in a function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:4340:
> error: initializer element is not constant
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:4340:
> error: (near initialization for `bond_ethtool_ops.set_tso')
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> In function `bond_init':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:4374:
> warning: assignment discards qualifiers from pointer target type
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:4386:
> error: `IFF_BONDING' undeclared (first use in this function)
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> In function `bond_create':
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:4812:
> warning: implicit declaration of function `lockdep_set_class'
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:4812:
> error: structure has no member named `_xmit_lock'
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:
> At top level:
> /var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.c:4774:
> error: storage size of `bonding_netdev_xmit_lock_key' isn't known
> make[1]: ***
> [/var/tmp/OFEDRPM/BUILD/ib-bonding-0.9.0/linux/drivers/net/bonding/bond_main.o]
> Error 1
>
> _______________________________________________
> 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