That most likely means that Lustre does not support a kernel that old (the kernel structure does not have those fields yet). It looks like the kernels from CentOS 6.7 and 6.8 will work:
http://build.lustre.org/downloads/tags/2.9.0/centos/ You'll probably need to either upgrade your version of CentOS, or hack code. Chris On 12/13/2016 01:01 AM, Martin BALVERS wrote: > Hi, > > 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. > > 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. > > Is there any way I can get this to compile? > > Thanks, > Martin Balvers > > CC: gcc > LD: /usr/bin/ld -m elf_x86_64 > 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 > CFLAGS: -g -O2 -Werror -Wall -Werror > 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 > > Type 'make' to build Lustre. > + make -j8 -s > Making all in . > /root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c: In function > 'll_dir_setdirstripe': > /root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:459: error: unknown > field 'len' specified in initializer > cc1: warnings being treated as errors > /root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:459: error: excess > elements in struct initializer > /root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:459: error: (near > initialization for 'dentry.d_name') > /root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:460: error: unknown > field 'hash' specified in initializer > /root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:460: error: excess > elements in struct initializer > /root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.c:460: error: (near > initialization for 'dentry.d_name') > make[6]: *** [/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite/dir.o] Error 1 > make[6]: *** Waiting for unfinished jobs.... > make[5]: *** [/root/rpmbuild/BUILD/lustre-2.9.0/lustre/llite] Error 2 > make[4]: *** [/root/rpmbuild/BUILD/lustre-2.9.0/lustre] Error 2 > make[4]: *** Waiting for unfinished jobs.... > make[3]: *** [_module_/root/rpmbuild/BUILD/lustre-2.9.0] Error 2 > make[2]: *** [modules] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > 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. > > 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. > > > _______________________________________________ > lustre-discuss mailing list > [email protected] > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org > _______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
