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
_______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org