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

Patrick Farrell paf at cray.com
Sun Apr 8 11:58:14 PDT 2018

Are you not able to move to a newer version even of CentOS6?  6.5 is no longer supported and it looks like you would have to revert some Lustre patches to get the newest client to build.

From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on behalf of Alex Vodeyko <alex.vodeyko at gmail.com>
Sent: Sunday, April 8, 2018 4:32:36 AM
To: lustre-discuss at lists.lustre.org
Subject: [lustre-discuss] Lustre 2.10.3 client fails to compile on centos 6.5


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,
lustre-discuss mailing list
lustre-discuss at lists.lustre.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20180408/f98d6d80/attachment.html>

More information about the lustre-discuss mailing list