When I tried to compile OFED-1.3.1-rc1 on sles 10 sp2 rc3 I got the following compile error on compile of ofa-kernel. > In file included from /usr/src/linux-2.6.16.60-0.21/include/net/route.h:34, > from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr.c :37: > /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/kernel_addons/backport/2.6.16_ sles10_sp2/include/linux/ip.h:7: error: redefinition of [EMAIL PROTECTED]@^Y <mailto:[EMAIL PROTECTED]@^Y> > /usr/src/linux-2.6.16.60-0.21/include/linux/ip.h:108: error: previous definition of [EMAIL PROTECTED]@^Y <mailto:[EMAIL PROTECTED]@^Y> was here > make[6]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.3/drivers/infiniband/core/addr. o] Error 1 The attached diff file remove the redundant ip.h file form the /ofa_kernel-1.3/kernel_addons/backport/2.6.16_sles10_sp2/ directory. Moshe Tziporet, This patch together with the ib-bonding patch that I delivered to MoniS solve all the OFED-1.3.1-rc1 porting compile issues. Moshe
____________________________________________________________ Moshe Katzir | +972-9971-8639 (o) | +972-52-860-6042 (m) Voltaire - The Grid Backbone www.voltaire.com <http://www.voltaire.com/> <mailto:[EMAIL PROTECTED]>
diff -pbswNr ofa_kernel-1.3/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/ip.h ofa_kernel-1.3.new/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/ip.h *** ofa_kernel-1.3/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/ip.h Mon May 5 16:55:54 2008 --- ofa_kernel-1.3.new/kernel_addons/backport/2.6.16_sles10_sp2/include/linux/ip.h Thu Jan 1 02:00:00 1970 *************** *** 1,11 **** - #ifndef __LINUX_IP_BACKPORT_TO_2_6_21__ - #define __LINUX_IP_BACKPORT_TO_2_6_21__ - - #include_next <linux/ip.h> - - static inline struct iphdr *ip_hdr(const struct sk_buff *skb) - { - return (struct iphdr *)skb_network_header(skb); - } - - #endif --- 0 ----
_______________________________________________ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg