[Lustre-discuss] Error while compiling Lustre client from 1.8.0 source
Nirmal Seenu
nirmal at fnal.gov
Mon Jun 15 14:55:49 PDT 2009
I am having trouble building the Lustre client from source--
lustre-1.8.0.tar.gz under the latest Redhat Kernel. Could someone let me
know if there is patch available to fix this problem.
[root at cc2 lustre-1.8.0]# ./configure
--with-linux=/usr/src/kernels/2.6.18-128.1.10.el5-x86_64 --disable-snmp
--enable-quota --disable-server
[root at cc2 lustre-1.8.0]# make
....
...
CC [M] /usr/local/src/lustre-1.8.0/lustre/llite/lloop.o
In file included from
/usr/local/src/lustre-1.8.0/lustre/include/linux/lvfs.h:49,
from /usr/local/src/lustre-1.8.0/lustre/include/lvfs.h:48,
from
/usr/local/src/lustre-1.8.0/lustre/include/obd_support.h:41,
from
/usr/local/src/lustre-1.8.0/lustre/include/lustre_cfg.h:207,
from
/usr/local/src/lustre-1.8.0/lustre/include/lustre_lib.h:47,
from /usr/local/src/lustre-1.8.0/lustre/llite/lloop.c:111:
/usr/local/src/lustre-1.8.0/lustre/include/linux/lustre_compat25.h:321:
error: static declaration of ‘filemap_fdatawrite_range’ follows
non-static declaration
/usr/src/kernels/2.6.18-128.1.10.el5-x86_64/include/linux/fs.h:1681:
error: previous declaration of ‘filemap_fdatawrite_range’ was here
make[6]: *** [/usr/local/src/lustre-1.8.0/lustre/llite/lloop.o] Error 1
make[5]: *** [/usr/local/src/lustre-1.8.0/lustre/llite] Error 2
make[4]: *** [/usr/local/src/lustre-1.8.0/lustre] Error 2
make[3]: *** [_module_/usr/local/src/lustre-1.8.0] Error 2
Thanks
Nirmal
More information about the lustre-discuss
mailing list