[ofa-general] Re: OFED 1.2.5 - GA release

Michael S. Tsirkin mst at dev.mellanox.co.il
Thu Aug 16 12:10:03 PDT 2007


> Quoting Kilian Cavalotti <kilian at stanford.edu>:
> Subject: Re: OFED 1.2.5 - GA release
> 
> Hi all,
> 
> Quoting Tziporet Koren <tziporet at mellanox.co.il>:
> >I am happy to announce on OFED 1.2.5 GA release.
> 
> Thanks for the release. I just wanted to let you know that I got a  
> compilation error (using RHEL4) in ofa_kernel:
> 
> In file included from  
> /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5/drivers/scsi/attri
> bute_container.c:1:
> /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5/include/../drivers/base/attribute_contai
> ner.c:23:18: base.h: No such file or directory
> make[5]: ***  
> [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5/drivers/scsi/attribute_con
> tainer.o] Error 1
> make[4]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5/drivers/scsi] Error 2
> make[3]: *** [_module_/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5] Error 2
> make[2]: *** [modules] Error 2
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory  
> `/usr/src/linux-2.6.9-55.EL_lustre-1.6.1-obj/x86_64/s
> mp'
> make: *** [kernel] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.56294 (%install)
> 
> 
> The drivers/base/attribute_container.c include a "base.h" which is not  
> provided. Copying the vanilla kernel drivers/base/base.h file in the  
> ofa_kernel drivers/base directory works, as well as the following  
> dirty patch:
> 
> --- attribute_container.c.orig  2007-08-16 10:59:08.000000000 -0700
> +++ attribute_container.c       2007-08-16 10:57:21.000000000 -0700
> @@ -20,7 +20,7 @@
>  #include <linux/module.h>
>  #include <linux/mutex.h>
> 
> -#include "base.h"
> +#include <../drivers/base/base.h>
> 
>  /* This is a private structure used to tie the classdev and the
>   * container .. it should never be visible outside this file */

This is iser stuff.
A simple workaround is to disable iser before build.
Erez, can you check this please?

-- 
MST



More information about the general mailing list