<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
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.<br>
<br>
<br>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> lustre-discuss <lustre-discuss-bounces@lists.lustre.org> on behalf of Alex Vodeyko <alex.vodeyko@gmail.com><br>
<b>Sent:</b> Sunday, April 8, 2018 4:32:36 AM<br>
<b>To:</b> lustre-discuss@lists.lustre.org<br>
<b>Subject:</b> [lustre-discuss] Lustre 2.10.3 client fails to compile on centos 6.5</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi,<br>
<br>
I'm trying to build lustre 2.10.3 client on centos 6.5 (kernel:<br>
2.6.32-431.el6.x86_64) with "rpmbuild  --rebuild --without servers<br>
lustre-2.10.3-1.src.rpm" and it fails with:<br>
<br>
/root/rpmbuild/BUILD/lustre-2.10.3/lustre/ptlrpc/../../lustre/ldlm/ldlm_lock.c:<br>
In function 'ldlm_lock_remove_from_lru_check':<br>
/root/rpmbuild/BUILD/lustre-2.10.3/lustre/ptlrpc/../../lustre/ldlm/ldlm_lock.c:267:<br>
error: implicit declaration of function 'ktime_compare'<br>
make[6]: *** [/root/rpmbuild/BUILD/lustre-2.10.3/lustre/ptlrpc/../../lustre/ldlm/ldlm_lock.o]<br>
Error 1<br>
make[5]: *** [/root/rpmbuild/BUILD/lustre-2.10.3/lustre/ptlrpc] Error 2<br>
make[5]: *** Waiting for unfinished jobs....<br>
make[4]: *** [/root/rpmbuild/BUILD/lustre-2.10.3/lustre] Error 2<br>
make[3]: *** [_module_/root/rpmbuild/BUILD/lustre-2.10.3] Error 2<br>
make[2]: *** [modules] Error 2<br>
make[1]: *** [all-recursive] Error 1<br>
make: *** [all] Error 2<br>
<br>
Have to keep centos-6.5 for the app compatibility, so could you please<br>
help with it?<br>
<br>
Many thanks,<br>
Alex<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</div>
</span></font></div>
</body>
</html>