<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 &#x000E9;lectronique et tous les fichiers attach&#x000E9;s qu'il contient sont confidentiels et destin&#x000E9;s exclusivement &#x000E0; l'usage de la personne &#x000E0; laquelle ils sont adress&#x000E9;s. Si vous avez re&#x000E7;u ce message par erreur, merci de le retourner &#x000E0; son &#x000E9;metteur. Les id&#x000E9;es et opinions pr&#x000E9;sent&#x000E9;es dans ce message sont celles de son auteur, et ne repr&#x000E9;sentent pas n&#x000E9;cessairement celles de DANONE ou d'une quelconque de ses filiales. La publication, l'usage, la distribution, l'impression ou la copie non autoris&#x000E9;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>