[openib-general] Re: error compiling kernel...
johann at pathscale.com
Mon Nov 7 21:38:06 PST 2005
> I ran into the same problem while compiling with 2.6.14 kernel. I tried
> removing infniband/include/rdma, but still the same :-(
> Has anyone been able to compile gen2 with 2.6.14? Maybe I am missing
Yes. We just figure out how to; thanks to Roland. Assume that
KERNEL_SOURCE_TREE is where you keep the 2.6.14 kernel sources you are
building and GEN2 is the location of the gen2 directory of your OpenIB
repository. Here is what we did:
(1) Replace the infiniband directory on 2.6.14 with the infiniband directory
from the repository (as you always do).
(2) Update the include directory in your kernel tree:
cp -p -r * ../../../include
This just updated the scsi and rdma directories in include.
(3) Apply the fib-frontend patch to your kernel
patch -p1 \
This exports a needed symbol: ip_dev_find
Now if you compile the kernel the usual way, all should work.
More information about the general