[lustre-discuss] Lustre 2.10.3 client fails to compile on centos 6.5

Alex Vodeyko alex.vodeyko at gmail.com
Sun Apr 8 02:32:36 PDT 2018


I'm trying to build lustre 2.10.3 client on centos 6.5 (kernel:
2.6.32-431.el6.x86_64) with "rpmbuild  --rebuild --without servers
lustre-2.10.3-1.src.rpm" and it fails with:

In function 'ldlm_lock_remove_from_lru_check':
error: implicit declaration of function 'ktime_compare'
make[6]: *** [/root/rpmbuild/BUILD/lustre-2.10.3/lustre/ptlrpc/../../lustre/ldlm/ldlm_lock.o]
Error 1
make[5]: *** [/root/rpmbuild/BUILD/lustre-2.10.3/lustre/ptlrpc] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/root/rpmbuild/BUILD/lustre-2.10.3/lustre] Error 2
make[3]: *** [_module_/root/rpmbuild/BUILD/lustre-2.10.3] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Have to keep centos-6.5 for the app compatibility, so could you please
help with it?

Many thanks,

More information about the lustre-discuss mailing list