[ewg] SLES10sp2 build break

Jeff Becker Jeffrey.C.Becker at nasa.gov
Wed Nov 18 15:12:25 PST 2009


I recently upgraded to the latest released SLES10SP2 kernel
(2.6.16.60-0.42.7) and I see the problem below as well. However, in
addition, I see:

In file included from
/usr/src/linux-2.6.16.60-0.42.7/include/net/addrconf.h:51,
                 from
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:43:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/kernel_addons/backport/2.6.16_sles10_sp2/include/net/ipv6.h:
At top level:
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/kernel_addons/backport/2.6.16_sles10_sp2/include/net/ipv6.h:22:
error: redefinition of 'ipv6_addr_loopback'
/usr/src/linux-2.6.16.60-0.42.7/include/net/ipv6.h:361: error: previous
definition of 'ipv6_addr_loopback' was here

The 'ipv6_addr_loopback' was added to
kernel_addons/backport/2.6.16_sles10_sp2/include/net/ipv6.h by:

committer Jack Morgenstein <jackm at dev.mellanox.co.il>
Thu, 11 Jun 2009 13:17:33 +0000 (16:17 +0300)
commit 1f462241bd18d9b5727ddea90459e7763b69e11c
backports: 2.6.16_sles10_sp2: patches and add-ons based on kernel 2.6.18 backport

Although this works for the base SLES10SP2 kernel (2.6.16.60-0.21),
people trying to install OFED on recent SLES10SP2 kernels will have the
same problem. Vlad, do you have any suggestions on how to fix this? Thanks.

-jeff

Jon Mason wrote:
> It looks like a recent commit broke the SLES10sp2 build.  I am seeing:
>
> In file included from /usr/src/linux-2.6.16.60-0.21/include/linux/aio.h:5,
>                  from /usr/src/linux-2.6.16.60-0.21/include/linux/sched.h:255,
>                  from /root/ofed_kernel-2.6.16_sles10_sp2/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/sched.h:4,
>                  from /usr/src/linux-2.6.16.60-0.21/include/linux/mm.h:4,
>                  from /root/ofed_kernel-2.6.16_sles10_sp2/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/mm.h:4,
>                  from /usr/src/linux-2.6.16.60-0.21/include/linux/skbuff.h:26,
>                  from /root/ofed_kernel-2.6.16_sles10_sp2/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/skbuff.h:4,
>                  from /usr/src/linux-2.6.16.60-0.21/include/linux/if_ether.h:111,
>                  from /root/ofed_kernel-2.6.16_sles10_sp2/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/if_ether.h:4,
>                  from /usr/src/linux-2.6.16.60-0.21/include/linux/netdevice.h:29,
>                  from /root/ofed_kernel-2.6.16_sles10_sp2/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/netdevice.h:4,
>                  from /usr/src/linux-2.6.16.60-0.21/include/linux/inetdevice.h:7,
>                  from /root/ofed_kernel-2.6.16_sles10_sp2/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/inetdevice.h:4,
>                  from /root/ofed_kernel-2.6.16_sles10_sp2/drivers/infiniband/core/addr.c:37:
> /root/ofed_kernel-2.6.16_sles10_sp2/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/workqueue.h: In function ‘backport_delayed_work_pending’:
> /root/ofed_kernel-2.6.16_sles10_sp2/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/workqueue.h:31: error: implicit declaration of function ‘delayed_work_pending’
> make[6]: *** [/root/ofed_kernel-2.6.16_sles10_sp2/drivers/infiniband/core/addr.o] Error 1
> make[5]: *** [/root/ofed_kernel-2.6.16_sles10_sp2/drivers/infiniband/core] Error 2
> make[4]: *** [/root/ofed_kernel-2.6.16_sles10_sp2/drivers/infiniband] Error 2
> make[3]: *** [_module_/root/ofed_kernel-2.6.16_sles10_sp2] Error 2
> make[2]: *** [modules] Error 2
> make[1]: *** [modules] Error 2
> make: *** [kernel] Error 2
> root at demo2 ~/ofed_kernel-2.6.16_sles10_sp2 # uname -r
> 2.6.16.60-0.21-smp
>
>
> kernel_addons/backport/2.6.16_sles10_sp2/include/linux/workqueue.h was last touched in
>
> commit 4e0958d8db84ec233a75d289f7d636f974741d9d
> Author: Yevgeny Petrilin <yevgenyp at mellanox.co.il>
> Date:   Tue Nov 17 18:20:22 2009 +0200
>
>     mlx4_core: Updated 'cancel_delayed_work_synch' backport
>     
>     Signed-off-by: Yevgeny Petrilin <yevgenyp at mellanox.co.il>
>
> In that patch, references to delayed_work_pending were added.
>
> Am I missing something?  Let me know if you want me to open a bug.
>
> Thanks,
> Jon
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>   




More information about the ewg mailing list