[openfabrics-ewg] EWG OFED Meeting Info

Tziporet Koren tziporet at mellanox.co.il
Sun May 28 00:12:38 PDT 2006


Woodruff, Robert J wrote:
> I tried to build the code that is in
> gen2/branches/1.0/ofed/tags/rc5/linux-kernel
> against a 2.6.16 kernel and I get the following compile error.
>  
>  CHK     include/linux/version.h
>   CHK     include/linux/compile.h
>   CHK     usr/initramfs_list
>   CC [M]  drivers/infiniband/ulp/ipoib/ipoib_main.o
> drivers/infiniband/ulp/ipoib/ipoib_main.c: In function 
> `ipoib_neigh_alloc':
> drivers/infiniband/ulp/ipoib/ipoib_main.c:808: error: structure has no 
> member named `destructor'
> drivers/infiniband/ulp/ipoib/ipoib_main.c: In function `ipoib_neigh_free':
> drivers/infiniband/ulp/ipoib/ipoib_main.c:825: error: structure has no 
> member named `destructor'
> make[3]: *** [drivers/infiniband/ulp/ipoib/ipoib_main.o] Error 1
> make[2]: *** [drivers/infiniband/ulp/ipoib] Error 2
> make[1]: *** [drivers/infiniband] Error 2
> make: *** [drivers] Error 2
>  
> I saw a patch in the linux-kernel/patches/2.6.16-stable directory called
> ipoib_destructor.patch
>  
> Am I suppose to apply this patch or is OFED RC5 kernel suppose to compile
> against 2.6.16. I tried to apply that patch and it did not apply cleanly.
>  
> Any ideas what I am doing wrong ?
>  
> woody
>  
Hi Woody,
You should not take IPoIB from the tag 
(gen2/branches/1.0/ofed/tags/rc5/linux-kernel), since IPoIB is taken 
from git for 2.6.17.
The patches of IPoIB are against the code that is in the git.
Please take the full tarball and use it. If you want you can create your 
own tarball by checking out the code from git and use the build script 
(https://openib.org/svn/gen2/branches/1.0/ofed/build/build_ofed.sh)

Tziporet



More information about the ewg mailing list