[ewg] Compile error on 7/14 daily build of OFED-1.5

Jack Morgenstein jackm at dev.mellanox.co.il
Thu Jul 16 07:19:35 PDT 2009


Culprit is  /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/kernel_addons/backport/2.6.18-EL5.3/include/linux/log2.h
This file assumed that there was no native include/linux/log2.h -- which is incorrect in RHEL5.2 and 5.3

I'll fix now.  Vlad should be taking this commit (from my clone) on Sunday.

If you want to try the fix, you can simply copy over file
   kernel_addons/backports/2.6.21/include/linux/log2.h
to:
   kernel_addons/backports/2.6.18-EL5.3/include/linux/log2.h

(and also to 
   kernel_addons/backports/2.6.18-EL5.2/include/linux/log2.h
 if you are also using RHEL5.2)

Then try compiling.
Please let me know the result.

-Jack

On Thursday 16 July 2009 00:51, Woodruff, Robert J wrote:
> 
> I am seeing this build error when trying to compile
> the 7/14 daily build on EL 5.3 on IA64. 
> Not sure who the maintainer is of kobject_backport.c,
> but it looks to be the culprit.
> 
> woody
> 
> 
> ckport/2.6.18-EL5.3/include/linux/slab.h:1,
>                  from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/kobject_backport.c:1:
> include/linux/bitops.h: At top level:
> include/linux/bitops.h:57: error: conflicting types for 'fls_long'
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/kernel_addons/backport/2.6.18-EL5.3/include/linux/log2.h:64: error: previous implicit declaration of 'fls_long' was here
> make[4]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/kobject_backport.o] Error 1_______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
> 



More information about the ewg mailing list