Hi,
Trying to compile lustre 1.6.1 on a patchless IA64 client running SLES
10 kernel 2.6.16.21-0.25 with OFED-1.2.
Here is the config line:
/usr/local/src/lustre/lustre-1.6.1 # ./configure
--with-linux=/usr/src/linux-2.6.16.21-0.25
--with-linux-obj=/usr/src/linux-2.6.16.21-0.25
--with-linux-config=/usr/src/linux-2.6.16.21-0.25/.config
--with-o2ib=/usr/local/ofed/src/ofa_kernel-1.2/ --disable-server
--disable-ldiskfs
The config fails with:
checking for CPU affinity support... yes
checking for tunable backoff TCP support... no (no kernel support)
checking for tunable panic_dumplog support... no
checking for QsNet sources... /usr/src/linux-2.6.16.21-0.25
checking if quadrics kernel headers are present... no
checking whether to enable GM support... no
checking whether to enable OpenIB support... no
checking whether to enable Cisco/TopSpin IB support... no
checking whether to enable Voltaire IB support... no
checking whether to enable Infinicon support... no
checking whether to enable OpenIB gen2 support... no
configure: error: can't compile with OpenIB gen2 headers
under /usr/local/ofed/src/ofa_kernel-1.2/
here are more details from confi.log:
configure:6027: checking whether to enable Voltaire IB support
configure:6053: result: no
configure:6209: checking whether to enable Infinicon support
configure:6237: result: no
configure:6333: checking whether to enable OpenIB gen2 support
configure:6421: cp conftest.c build && make modules CC=gcc
-f /usr/local/src/lus
tre/lustre-1.6.1/build/Makefile
LUSTRE_LINUX_CONFIG=/usr/src/linux-2.6.16.21-0.2
5/.config LINUXINCLUDE=-I/usr/local/ofed/src/ofa_kernel-1.2//include
-Iinclude -
include include/linux/autoconf.h -o tmp_include_depends -o scripts -o
include/co
nfig/MARKER -C /usr/src/linux-2.6.16.21-0.25
EXTRA_CFLAGS=-Werror-implicit-funct
ion-declaration -g -I/usr/local/src/lustre/lustre-1.6.1/lnet/include
-I/usr/loca
l/src/lustre/lustre-1.6.1/lustre/include
-I/usr/local/ofed/src/ofa_kernel-1.2//i
nclude M=/usr/local/src/lustre/lustre-1.6.1/build
In file included
from /usr/local/ofed/src/ofa_kernel-1.2//include/rdma/ib_addr.h
:37,
from /usr/local/ofed/src/ofa_kernel-1.2//include/rdma/rdma_cm.h
:35,
from configure:6419:
/usr/local/ofed/src/ofa_kernel-1.2//include/rdma/ib_verbs.h: In function
'ib_sg_
dma_address':
/usr/local/ofed/src/ofa_kernel-1.2//include/rdma/ib_verbs.h:1576: error:
implici
t declaration of function 'sg_dma_address'
/usr/local/ofed/src/ofa_kernel-1.2//include/rdma/ib_verbs.h: In function
'ib_sg_
dma_len':
/usr/local/ofed/src/ofa_kernel-1.2//include/rdma/ib_verbs.h:1589: error:
implici
t declaration of function 'sg_dma_len'
configure: In function 'main':
configure:6433: warning: unused variable 'rej_reason'
configure:6432: warning: unused variable 'pool_fmr'
configure:6431: warning: unused variable 'qp_attr'
configure:6430: warning: unused variable 'device_attr'
configure:6429: warning: unused variable 'conn_param'
make[1]: *** [/usr/local/src/lustre/lustre-1.6.1/build/conftest.o] Error
1
make: *** [_module_/usr/local/src/lustre/lustre-1.6.1/build] Error 2
configure:6424: $? = 2
configure: failed program was:
| #line 6383 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Lustre"
| #define PACKAGE_TARNAME "lustre"
| #define PACKAGE_VERSION "LUSTRE_VERSION"
I can build just fine if I take out the --with-o2ib option to configure.
Can anyone point me in the right direction?
Thanks
Rene
_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss