[ofa-general] help install ofed 1.4 on Centos 5.2
Vladimir Sokolovsky
vlad at dev.mellanox.co.il
Mon Sep 28 00:42:04 PDT 2009
chris wrote:
> Hello,
>
>
> I been trying to install ofed 1.4 on centos 5.3 for two days now can't
> i get it work. I don't understand why it won't compile. here is my out
> put hopeful someone can help.
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/kernel_addons/backport/2.6.18_FC6/include/linux/skbuff.h:96:
> error: redefinition of 'skb_copy_from_linear_data_offset'
> include/linux/skbuff.h:1504: error: previous definition of
> 'skb_copy_from_linear_data_offset' was here
> In file included from include/linux/netdevice.h:672,
> from
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/kernel_addons/backport/2.6.18_FC6/include/linux/netdevice.h:4,
> from include/linux/inetdevice.h:7,
> from
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/kernel_addons/backport/2.6.18_FC6/include/linux/inetdevice.h:4,
> from
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/drivers/infiniband/core/addr.c:37:
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/kernel_addons/backport/2.6.18_FC6/include/linux/interrupt.h:5:
> error: conflicting types for 'irq_handler_t'
> include/linux/interrupt.h:67: error: previous declaration of
> 'irq_handler_t' was here
> In file included from include/net/route.h:33,
> from
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/kernel_addons/backport/2.6.18_FC6/include/net/route.h:4,
> from
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/drivers/infiniband/core/addr.c:42:
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/kernel_addons/backport/2.6.18_FC6/include/linux/ip.h:7:
> error: redefinition of 'ip_hdr'
> include/linux/ip.h:109: error: previous definition of 'ip_hdr' was here
> make[4]: ***
> [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/drivers/infiniband/core/addr.o]
> Error 1
> make[3]: ***
> [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/drivers/infiniband/core]
> Error 2
> make[2]: ***
> [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4/drivers/infiniband] Error 2
> make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
> make: *** [kernel] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.79424 (%build)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.79424 (%build)
>
>
Hi Chris,
Kernel 2.6.18-164.el5 comes from RHEL5.4 and is not supported by OFED-1.4.X.
You should try OFED-1.5.
Regards,
Vladimir
More information about the general
mailing list