Hi all,<br><br>Running on 2.6.27.21 x64. ofa_kernel build error as follows:<br><br>-I/usr/src/redhat/BUILD/kernel-2.6.27.21/arch/x86_64/include \<br> -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -m64 -mtune=generic -mno-red-zone -mc<br>
model=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables<br>-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign<br>
 -fwrapv -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(file)"  -D"KBUILD_MODNAME=KBUILD_STR(nfs)" -c -o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/<br>fs/nfs/.tmp_file.o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.c<br>
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.c: In function 'nfs_write_begin':<br>/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.c:354: error: implicit declaration of function '__grab_cache_page'<br>
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.c:354: warning: assignment makes pointer from integer without a cast<br>make[3]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs/file.o] Error 1<br>make[2]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1/fs/nfs] Error 2<br>
make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.1] Error 2<br>make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.27.21'<br>make: *** [kernel] Error 2<br>error: Bad exit status from /var/tmp/rpm-tmp.2461 (%build)<br>
<br>Assuming we turn off nfs stuff to go further, error number two is from infiniband-diags:<br><snip><br>checking whether to build shared libraries... yes<br>checking whether to build static libraries... yes<br>checking for sys_read_string in -libcommon... yes<br>
checking for umad_init in -libumad... yes<br>checking for mad_dump_int in -libmad... no<br>configure: error: mad_dump_int() not found. diags require libibmad.<br>error: Bad exit status from /var/tmp/rpm-tmp.42050 (%build)<br>
<br>I confirmed that pulling management git and compiling libs and diags from there does not have this issue, and that the libibmad.so.1 that gets compiled in the daily OFED does not have mad_dump_int().<br><br>Thanks,<br>
<br>-Gennadiy<br>