[openib-general] Re: Compilation issues on rhel4 u3 ppc64 sysfs.o

Paul paul.lundin at gmail.com
Tue May 23 13:24:20 PDT 2006


Michael,
        Thanks. I will try this if the build scripts from the OFED tarball
dont work. (I was unaware that such a thing existed.)

Thanks.

On 5/23/06, Michael S. Tsirkin <mst at mellanox.co.il> wrote:
>
> Quoting r. Paul Lundin <paul.lundin at gmail.com>:
> > Subject: Compilation issues on rhel4 u3 ppc64 sysfs.o
> >
> > Hi All,
> >      I just started working with openIB in the past week. I am having an
> issue getting the kernel modules to compile with the stock rhel4 u3 kernel.
> I have applied the patches found at
> https://openib.org/svn/gen2/branches/backport/2.6.9_U3/ and followed the
> instructions from
> https://openib.org/tiki/tiki-index.php?page=Installation+Cheat+Sheet
>
> Note these instructions are for 2.6.16
>
> >      but I have been getting the following error:
> >
> > LD /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/built-in.o
> > LD /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/built-in.o
> > CC [M] /usr/src/kernels/2.6.9- 34.EL-ppc64
> /drivers/infiniband/core/index.o
> > CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/addr.o
> > CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/cm.o
> > /usr/src/kernels/2.6.9- 34.EL-ppc64/drivers/infiniband/core/cm.c: In
> function `ib_cm_cleanup':
> > /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/cm.c:3367:
> warning: implicit declaration of function `idr_destroy'
>
> After you apply
> linux_idr_6554_to_2_6_13.patch
>
> a file ./include/linux/idr.h will be created for you.
>
> You should build with directory ./include/linux first on include list
> for this to take effect.
>
> something like
>
> make -C $(KSRC) SUBDIRS="$(CWD)/$(SRC)linux-kernel/infiniband" \
>                 LINUXINCLUDE='-I$(CWD)/include \
>                 -I$(CWD)/$(SRC)linux-kernel/infiniband/include \
>                 -Iinclude \
>                 $$(if $$(KBUILD_SRC),-Iinclude2 -I$$(srctree)/include)' \
>
>
> --
> MST
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060523/c75dcb20/attachment.html>


More information about the general mailing list