[ofa-general] Errors when compiling ib-bonding module.
Jeffrey Wong
jwong at datallegro.com
Tue May 1 17:38:37 PDT 2007
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/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 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/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.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)
Jeff Wong, Linux Software Engineer
(949) 680-3066 - Office
(949) 680-3001 - Fax
jwong at datallegro.com <mailto:Xjwong at datallegro.com>
www.datallegro.com <http://www.datallegro.com>
<http://www.datallegro.com/index.htm>
<http://www.datallegro.com/index.htm>
85Enterprise, 2nd Floor, Aliso Viejo, CA 92656
The information transmitted in this email is intended only for the
person(s) or entity to which it is addressed and may contain
proprietary, confidential and/or privileged material. If you have
received this email in error please contact the sender by replying and
delete this email so that it is not recoverable. If you are not the
intended recipient(s), any retention, review, disclosure, distribution,
copying, printing, dissemination, or other use of, or the taking of any
action in reliance upon, this information is strictly prohibited and
without liability on our part.
________________________________
From: Scott Weitzenkamp (sweitzen) [mailto:sweitzen at cisco.com]
Sent: Tuesday, May 01, 2007 1:39 PM
To: Jeffrey Wong; general at lists.openfabrics.org
Subject: RE: [ofa-general] Errors after install for openibd start
Try rebooting, and see if it still happens.
Scott
________________________________
From: general-bounces at lists.openfabrics.org
[mailto:general-bounces at lists.openfabrics.org] On Behalf Of Jeffrey Wong
Sent: Tuesday, May 01, 2007 1:11 PM
To: general at lists.openfabrics.org
Subject: [ofa-general] Errors after install for openibd start
Hello,
I have successfully run the ./install.sh script with kernel
2.6.18-8.1.1.el5
I did not reboot the machine.
After installing and configuring the ports using the defaults, I
tried to execute the command:
/etc/init.d/openibd start
I have truncated the errors to show an example.
Any suggestions?
Thanks,
Jeff
I am getting the following errors:
ib_ipath: disagrees about version of symbol ib_unregister_device
ib_ipath: Unknown symbol ib_unregister_device
ib_ipath: disagrees about version of symbol ib_register_device
ib_ipath: Unknown symbol ib_register_device
ib_ipath: disagrees about version of symbol ib_dispatch_event
ib_ipath: Unknown symbol ib_dispatch_event
ib_ipath: disagrees about version of symbol ib_dealloc_device
ib_ipath: Unknown symbol ib_dealloc_device
ib_ipath: disagrees about version of symbol ib_alloc_device
ib_ipath: Unknown symbol ib_alloc_device
ib_ipoib: disagrees about version of symbol ib_unregister_client
ib_ipoib: Unknown symbol ib_unregister_client
ib_ipoib: disagrees about version of symbol ib_create_cq
ib_ipoib: Unknown symbol ib_create_cq
ib_ipoib: Unknown symbol ib_sa_register_client
ib_ipoib: disagrees about version of symbol ib_cm_listen
ib_ipoib: Unknown symbol ib_cm_listen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070501/73df6b4c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 10836 bytes
Desc: image001.jpg
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070501/73df6b4c/attachment.jpg>
More information about the general
mailing list