[ofa-general] ibutils patch

Jan Ruffing ruffing at motama.com
Thu Dec 11 01:50:38 PST 2008


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

-- 
Jan Ruffing
Software Developer

Motama GmbH
Lortzingstraße 10 · 66111 Saarbrücken · Germany
tel +49 681 940 85 50 · fax +49 681 940 85 49
ruffing at motama.com · www.motama.com

Companies register · district council Saarbrücken · HRB 15249
CEOs · Dr.-Ing. Marco Lohse, Michael Repplinger

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail 
in error) please notify the sender immediately and destroy this 
e-mail. Any unauthorized copying, disclosure or distribution of the 
material in this e-mail is strictly forbidden.




More information about the general mailing list