[ofa-general] ibutils patch

Oren Kladnitsky orenk at dev.mellanox.co.il
Thu Dec 11 03:08:35 PST 2008


Jan Ruffing wrote:
> Hello,
>
> Last friday, I installed the OFED 1.4 beta on a 32 bit system with the
> OpenSuse 11 distribution installed (Kernel 2.6.25.16).
>
> The install script worked fine up until ibutils.
>
> Ibutils had to be patched with additional includes to compile:
>
> diff -r /tmp/infiniband/ibutils/ibutils-1.2//ibdm/datamodel/Fabric.h
> /var/tmp/OFED_topdir/BUILD/ibutils-1.2//ibdm/datamodel/Fabric.h
> 57a58
>   
>> #include <string.h>
>>     
> 58a60
>   
>> #include <stdlib.h>
>>     
> diff -r
> /tmp/infiniband/ibutils/ibutils-1.2//ibdm/datamodel/LinkCover.cpp
> /var/tmp/OFED_topdir/BUILD/ibutils-1.2//ibdm/datamodel/LinkCover.cpp
> 41a42,43
>   
>> #include <algorithm>
>>
>>     
> diff -r /tmp/infiniband/ibutils/ibutils-1.2//ibmgtsim/src/dispatcher.h
> /var/tmp/OFED_topdir/BUILD/ibutils-1.2//ibmgtsim/src/dispatcher.h
> 55a56
>   
>> #include <pthread.h>
>>     
> diff -r /tmp/infiniband/ibutils/ibutils-1.2//ibmgtsim/src/msgmgr.cpp
> /var/tmp/OFED_topdir/BUILD/ibutils-1.2//ibmgtsim/src/msgmgr.cpp
> 36a37
>   
>> #include <string.h>
>>     
> diff -r /tmp/infiniband/ibutils/ibutils-1.2//ibmgtsim/src/node.cpp
> /var/tmp/OFED_topdir/BUILD/ibutils-1.2//ibmgtsim/src/node.cpp
> 52a53
>   
>> #include <algorithm>
>>     
>
>
> I don't know if this has been corrected in the OFED 1.4 release. If not,
> including these changes in the next version of the OFED might be helpful.
>
> Thanks,
> Jan Ruffing
>
>   
Hi,

This patch is already in OFED 1.4 release.

Regards,
Oren.




More information about the general mailing list