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

Doug Ledford dledford at redhat.com
Thu Jan 4 08:18:56 PST 2007


On Thu, 2007-01-04 at 13:59 +0200, Vladimir Sokolovsky wrote:
> Try with ofa_1_2_kernel-20070104-0356.tgz
> I have no RH5 here to check.

The RHEL5 kernel includes the inode-diet patch, which means that struct
inode no longer has the member referenced in the ofed code.  You'll need
to patch up the 1.2 code if you want it to work on RHEL5.

> 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
> > 
> 
> _______________________________________________
> openfabrics-ewg mailing list
> openfabrics-ewg at openib.org
> http://openib.org/mailman/listinfo/openfabrics-ewg
-- 
Doug Ledford <dledford at redhat.com>
              GPG KeyID: CFBFF194
              http://people.redhat.com/dledford

Infiniband specific RPMs available at
              http://people.redhat.com/dledford/Infiniband
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20070104/d24bea23/attachment.sig>


More information about the ewg mailing list