[openib-general] Re: Compilation issues on rhel4 u3 ppc64 sysfs.o
Michael S. Tsirkin
mst at mellanox.co.il
Tue May 23 13:09:19 PDT 2006
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
More information about the general
mailing list