I tried building OFED <a href="http://1.2.5.4">1.2.5.4</a> on a Fedora 7 system with kernel  2.6.23.1-21.fc7 and got a fatal compile error.  Apparently the number of arguments to kmem_cache_create() changed from 6 to 5 starting with kernel version 
2.6.23. Error output below:<br><br>  gcc -Wp,-MD,/var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/drivers/infiniband/core/.mad.o.d">1.2.5.4/drivers/infiniband/core/.mad.o.d</a>  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ \
<br> \<br>-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/include">1.2.5.4/include</a> \<br>-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/drivers/infiniband/include">1.2.5.4/drivers/infiniband/include
</a> \<br>-Iinclude \<br> \<br>-include include/linux/autoconf.h \<br>-include /var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/include/linux/autoconf.h">1.2.5.4/include/linux/autoconf.h</a> \<br> -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os  -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(mad)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_mad)" -c -o /var/tmp/OFEDRPM/BUILD/ofa_kernel-
<a href="http://1.2.5.4/drivers/infiniband/core/mad.o">1.2.5.4/drivers/infiniband/core/mad.o</a> /var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/drivers/infiniband/core/mad.c">1.2.5.4/drivers/infiniband/core/mad.c
</a><br>/var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/drivers/infiniband/core/mad.c">1.2.5.4/drivers/infiniband/core/mad.c</a>: In function 'ib_mad_init_module':<br>/var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/drivers/infiniband/core/mad.c:2970">
1.2.5.4/drivers/infiniband/core/mad.c:2970</a>: error: too many arguments to function 'kmem_cache_create'<br>make[4]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/drivers/infiniband/core/mad.o">1.2.5.4/drivers/infiniband/core/mad.o
</a>] Error 1<br>make[3]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/drivers/infiniband/core">1.2.5.4/drivers/infiniband/core</a>] Error 2<br>make[2]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4/drivers/infiniband">
1.2.5.4/drivers/infiniband</a>] Error 2<br>make[1]: *** [_module_/var/tmp/OFEDRPM/BUILD/ofa_kernel-<a href="http://1.2.5.4">1.2.5.4</a>] Error 2<br>make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-21.fc7-x86_64'<br>
make: *** [kernel] Error 2<br>error: Bad exit status from /var/tmp/rpm-tmp.12849 (%install)<br><br>