>>>> "Patrice" == Patrice Hamelin
<patrice.hamelin(a)ssc-spc.gc.ca> writes:
Hi Patrice,
Patrice> Hi,
Patrice> Somebody has ever successfully compiled Lustre Client
Patrice> 2.4.1 on Ubuntu
Patrice> Precise 12.04 with Mellanox OFED 2.0.3?
we have built (and support) it (server + client) under Ubuntu 12.04.x for
Qlustar. However, we use kernel 2.6.32.x for the server and kernel
3.12.x (in-kernel client with some fixes see Lustre jira) for the
client and build against the stock OFED sources (for 2.6.32.x). I'm not
sure whether the stock 12.04 kernels (3.2 or higher) will support a
2.4.1 compile without major modifications (a client only compile
obviously has a lot better chances though).
Patrice> I am stucked with this error:
Patrice> mel-bc1e41-be14:/usr/src/lustre-2.4.1# ./configure
Patrice> --with-o2ib=/usr/src/mlnx-ofed-kernel-2.0 --disable-server
Patrice> checking build system type... x86_64-unknown-linux-gnu . .
Patrice> . checking whether to enable OpenIB gen2 support... no
Patrice> configure: error: can't compile with OpenIB gen2 headers
Patrice> under /usr/src/mlnx-ofed-kernel-2.0
There are two things here that make me wonder though:
a) You don't have an option like --with-linux=${KSRC}
b) What's underneath /usr/src/mlnx-ofed-kernel-2.0? For stock OFED I
have:
Documentation/ configure.mk.kernel kernel-build/ makefile@ patches/
Makefile@ drivers/ kernel_addons/ net/
config.mk include/ kernel_patches/ ofa_kernel.spec@
configure@ kernel/ lib/ ofed_scripts/
Does Mellanox OFED have the same layout? If not, it's possible the headers
can't be found.
Patrice> I tried a couple of patches/hacks found on Google but
Patrice> without success.
Patrice> Thanks.
Good luck,
Roland
--
https://qlustar.com