Skip to contentSkip to conversation

Can't build ofa-kernel-1.5.4 from OFED-1.5.4-rc4 with linux-3.1.1 on sparc64

DISCUSSION Lukas Razik 1 participant 1 message Nov 15, 2011 InfiniBand

lore
Share & tools
lore
#0 lore raw

Hello together!

I've tried to build ofa-kernel-1.5.4 from OFED-1.5.4-rc4 with linux-3.1.1 (vanilla) on sparc64. That's the whole log:
http://net.razik.de/linux/T5120/linux-3.1.1/ofa_kernel-1.5.4.rpmbuild.log

I've got this error during build:
---

In file included from include/linux/time.h:9,
                 from include/linux/skbuff.h:20,
                 from include/linux/if_ether.h:131,
                 from include/linux/netdevice.h:29,
                 from include/linux/inetdevice.h:8,
                 from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.4/drivers/infiniband/core/addr.c:37:
include/linux/math64.h:5:23: error: asm/div64.h: No such file or directory
In file included from include/linux/if_link.h:5,
                 from include/linux/netdevice.h:31,
                 from include/linux/inetdevice.h:8,
                 from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.4/drivers/infiniband/core/addr.c:37:
include/linux/netlink.h:32: error: expected specifier-qualifier-list before '__kernel_sa_family_t' /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.4/drivers/infiniband/core/addr.c: In function 'addr4_resolve':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.4/drivers/infiniband/core/addr.c:191: error: 'struct flowi' has no member named 'nl_u' /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.4/drivers/infiniband/core/addr.c:192: error: 'struct flowi' has no member named 'nl_u'
---

BTW1:
I've done a "make headers_install" in linux-3.1.1. I have symbolic links
/usr/include/asm -> /usr/src/linux-3.1.1/usr/include/asm /usr/include/linux -> /usr/src/linux-3.1.1/usr/include/linux

etc.
And there's no
linux-3.1.1/usr/include/asm/div64.h
BTW2:
include/linux/math64.h (which tries to include the inexistent asm/div64.h) isn't from
linux-3.1.1/usr/include
but from
linux-3.1.1/include

Regards,
Lukas

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html