Michael,<br>        Thanks. I will try this if the build scripts from the OFED tarball dont work. (I was unaware that such a thing existed.)<br><br>Thanks.<br><br><div><span class="gmail_quote">On 5/23/06, <b class="gmail_sendername">
Michael S. Tsirkin</b> <<a href="mailto:mst@mellanox.co.il">mst@mellanox.co.il</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Quoting r. Paul Lundin <<a href="mailto:paul.lundin@gmail.com">paul.lundin@gmail.com</a>>:<br>> Subject: Compilation issues on rhel4 u3 ppc64 sysfs.o<br>><br>> Hi All,<br>>      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 
<a href="https://openib.org/svn/gen2/branches/backport/2.6.9_U3/">https://openib.org/svn/gen2/branches/backport/2.6.9_U3/</a> and followed the instructions from <a href="https://openib.org/tiki/tiki-index.php?page=Installation+Cheat+Sheet">
https://openib.org/tiki/tiki-index.php?page=Installation+Cheat+Sheet</a><br><br>Note these instructions are for 2.6.16<br><br>>      but I have been getting the following error:<br>><br>> LD /usr/src/kernels/2.6.9-
34.EL-ppc64/drivers/infiniband/built-in.o<br>> LD /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/built-in.o<br>> CC [M] /usr/src/kernels/2.6.9- 34.EL-ppc64/drivers/infiniband/core/index.o<br>> CC [M] /usr/src/kernels/2.6.9-
34.EL-ppc64/drivers/infiniband/core/addr.o<br>> CC [M] /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/cm.o<br>> /usr/src/kernels/2.6.9- 34.EL-ppc64/drivers/infiniband/core/cm.c: In function `ib_cm_cleanup':
<br>> /usr/src/kernels/2.6.9-34.EL-ppc64/drivers/infiniband/core/cm.c:3367: warning: implicit declaration of function `idr_destroy'<br><br>After you apply<br>linux_idr_6554_to_2_6_13.patch<br><br>a file ./include/linux/idr.h will be created for you.
<br><br>You should build with directory ./include/linux first on include list<br>for this to take effect.<br><br>something like<br><br>make -C $(KSRC) SUBDIRS="$(CWD)/$(SRC)linux-kernel/infiniband" \<br>                LINUXINCLUDE='-I$(CWD)/include \
<br>                -I$(CWD)/$(SRC)linux-kernel/infiniband/include \<br>                -Iinclude \<br>                $$(if $$(KBUILD_SRC),-Iinclude2 -I$$(srctree)/include)' \<br><br><br>--<br>MST<br></blockquote></div><br>