[openib-general] Compile problems with core code and pathscale for svn6462 and linux-2.6.17-rc1

Roland Dreier rdreier at cisco.com
Thu Apr 13 17:28:38 PDT 2006


    Matt> If I remove include/rdma (which I had to do in the past)
    Matt> then some of the pathscale code fails to compile.  Here is
    Matt> the error:

Yes, you need the patch below for the ipath directory.  I sent this to
pathscale a while ago but it seems to take a while for patches to make
it from their internal repository to svn...

--- infiniband/hw/ipath/Makefile	(revision 6462)
+++ infiniband/hw/ipath/Makefile	(working copy)
@@ -1,5 +1,6 @@
 EXTRA_CFLAGS += -DIPATH_IDSTR='"PathScale kernel.org driver"' \
-	-DIPATH_KERN_TYPE=0
+	-DIPATH_KERN_TYPE=0 \
+	-Idrivers/infiniband/include
 
 obj-$(CONFIG_IPATH_CORE) += ipath_core.o
 obj-$(CONFIG_INFINIBAND_IPATH) += ib_ipath.o



More information about the general mailing list