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

Erez Zilber erezz at voltaire.com
Thu Jan 4 03:45:45 PST 2007


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

-- 

____________________________________________________________

Erez Zilber | 972-9-971-7689

Software Engineer, Storage Team

Voltaire – _The Grid Backbone_

__

www.voltaire.com <http://www.voltaire.com/>







More information about the ewg mailing list