<font size=2 face="sans-serif">Hi,</font><br><br><font size=2 face="sans-serif">I am trying to compile the lustre client
on a CentOS 6.5 system with elrepo kernel-lt (3.10.104-1.el6.elrepo.x86_64)
installed.</font><br><br><font size=2 face="sans-serif">When I do a 'rpmbuild --rebuild --without
servers lustre-2.9.0-1.src.rpm' i run into the following error. I have
also tried to compile the current git master branch with '--disable-server
--disable-tests', and that also resulted in the same error.</font><br><br><font size=2 face="sans-serif">Is there any way I can get this to compile?</font><br><br><font size=2 face="sans-serif">Thanks,</font><br><font size=2 face="sans-serif">Martin Balvers</font><br><br><font size=2 face="sans-serif">CC:
gcc</font><br><font size=2 face="sans-serif">LD:
/usr/bin/ld -m elf_x86_64</font><br><font size=2 face="sans-serif">CPPFLAGS: -include
/root/rpmbuild/BUILD/lustre-2.9.0/undef.h -include /root/rpmbuild/BUILD/lustre-2.9.0/config.h
-I/root/rpmbuild/BUILD/lustre-2.9.0/libcfs/include -I/root/rpmbuild/BUILD/lustre-2.9.0/lnet/include
-I/root/rpmbuild/BUILD/lustre-2.9.0/lustre/include</font><br><font size=2 face="sans-serif">CFLAGS: -g
-O2 -Werror -Wall -Werror</font><br><font size=2 face="sans-serif">EXTRA_KCFLAGS: -include /root/rpmbuild/BUILD/lustre-2.9.0/undef.h
-include /root/rpmbuild/BUILD/lustre-2.9.0/config.h -g -I/root/rpmbuild/BUILD/lustre-2.9.0/libcfs/include
-I/root/rpmbuild/BUILD/lustre-2.9.0/lnet/include -I/root/rpmbuild/BUILD/lustre-2.9.0/lustre/include</font><br><br><font size=2 face="sans-serif">Type 'make' to build Lustre.</font><br><font size=2 face="sans-serif">+ make -j8 -s</font><br><font size=2 face="sans-serif">Making all in .</font><br><font size=2 face="sans-serif">/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:
In function 'll_dir_setdirstripe':</font><br><font size=2 face="sans-serif">/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:459:
error: unknown field 'len' specified in initializer</font><br><font size=2 face="sans-serif">cc1: warnings being treated as errors</font><br><font size=2 face="sans-serif">/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:459:
error: excess elements in struct initializer</font><br><font size=2 face="sans-serif">/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:459:
error: (near initialization for 'dentry.d_name')</font><br><font size=2 face="sans-serif">/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:460:
error: unknown field 'hash' specified in initializer</font><br><font size=2 face="sans-serif">/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:460:
error: excess elements in struct initializer</font><br><font size=2 face="sans-serif">/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:460:
error: (near initialization for 'dentry.d_name')</font><br><font size=2 face="sans-serif">make[6]: *** [/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.o]
Error 1</font><br><font size=2 face="sans-serif">make[6]: *** Waiting for unfinished
jobs....</font><br><font size=2 face="sans-serif">make[5]: *** [/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite]
Error 2</font><br><font size=2 face="sans-serif">make[4]: *** [/root/rpmbuild/BUILD/lustre-2.9.0/lustre]
Error 2</font><br><font size=2 face="sans-serif">make[4]: *** Waiting for unfinished
jobs....</font><br><font size=2 face="sans-serif">make[3]: *** [_module_/root/rpmbuild/BUILD/lustre-2.9.0]
Error 2</font><br><font size=2 face="sans-serif">make[2]: *** [modules] Error 2</font><br><font size=2 face="sans-serif">make[1]: *** [all-recursive] Error 1</font><br><font size=2 face="sans-serif">make: *** [all] Error 2</font><BR><br clear="both">
Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le retourner à son émetteur. Les idées et opinions présentées dans ce message sont celles de son auteur, et ne représentent pas nécessairement celles de DANONE ou d'une quelconque de ses filiales. La publication, l'usage, la distribution, l'impression ou la copie non autorisée de ce message et des attachements qu'il contient sont strictement interdits. <BR>
<BR>
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of its author and do not necessarily represent those of DANONE or any of its subsidiary companies. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.<BR>