[openfabrics-ewg] OFED 1.2 cannot be built on RHEL5

Vladimir Sokolovsky vlad at mellanox.co.il
Thu Jan 4 03:59:36 PST 2007


Try with ofa_1_2_kernel-20070104-0356.tgz
I have no RH5 here to check.
Thanks,

Regards,
Vladimir

On Thu, 2007-01-04 at 13:45 +0200, Erez Zilber wrote:
> It seems that OFED 1.2 cannot be built on RHEL5:
> 
> gcc
> -Wp,-MD,/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib/.ipoib_fs.o.d
> -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include
> -D__KERNEL__ \
> -I/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/kernel_addons/backport/2.6.18/include/
> \
> -I/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/include \
> -I/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/include
> \
> -Iinclude \
> \
> -include include/linux/autoconf.h \
> -include
> /home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/include/linux/autoconf.h
> \
> -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
> -fno-common -Wstrict-prototypes -Wundef
> -Werror-implicit-function-declaration -Os -mtune=generic -m64
> -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks
> -Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2
> -mno-3dnow -fomit-frame-pointer -fasynchronous-unwind-tables -g
> -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
> -I/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/include
> -I/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/include
> -I/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib
> -I/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/debug
> -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ipoib_fs)"
> -D"KBUILD_MODNAME=KBUILD_STR(ib_ipoib)" -c -o
> /home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib/.tmp_ipoib_fs.o
> /home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib/ipoib_fs.c
> /home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib/ipoib_fs.c:
> In function ?ipoib_mcg_open?:
> /home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib/ipoib_fs.c:144:
> error: ?struct inode? has no member named ?u
> /home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib/ipoib_fs.c:
> In function ?ipoib_path_open?:
> /home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib/ipoib_fs.c:250:
> error: ?struct inode? has no member named ?u
> make[3]: ***
> [/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib/ipoib_fs.o]
> Error 1
> make[2]: ***
> [/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband/ulp/ipoib]
> Error 2
> make[1]: ***
> [_module_/home/erezz/work/ofed/ofa_1_2_kernel-20070103-0200/drivers/infiniband]
> Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2747.el5-x86_64'
> make: *** [kernel] Error 2
> 




More information about the ewg mailing list