[lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04

Peter Jones pjones at whamcloud.com
Mon Oct 21 20:12:23 PDT 2019


2.10.x servers should interoperate with 2.12.x clients – many sites use this option.

From: Huiming Song <s0nghuiming at hotmail.com>
Date: Monday, October 21, 2019 at 6:25 PM
To: Peter Jones <pjones at whamcloud.com>
Subject: Re: [lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04

Hi Jones,
I tried b2_12 and it worked on Ubuntu 18.04. I choose b2_10 because my lustre server is 2.10.
I guess only b2_10 matches the server. Am I right?

----------------------------------
Thank you and best regards
Song, Huiming


________________________________
From: Peter Jones <pjones at whamcloud.com>
Sent: Tuesday, October 22, 2019 0:05
To: Huiming Song <s0nghuiming at hotmail.com>; lustre-discuss at lists.lustre.org <lustre-discuss at lists.lustre.org>
Subject: Re: [lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04


I suggest that you use the b2_12 branch instead -that should be able to build against more current kernels than b2_10



From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on behalf of Huiming Song <s0nghuiming at hotmail.com>
Date: Monday, October 21, 2019 at 2:21 AM
To: "lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>
Subject: [lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04



Hi,



I'm trying to build lustre from source @b2_10 branch and Ubuntu 18.04/19.04.



After meeting many difficulties, I can start make the build.



Then in 'make debs', I received the error as of following:



...
rm -f liblustreapitmp.a

ar cru liblustreapitmp.a liblustreapi.o liblustreapi_hsm.o liblustreapi_nodemap.o liblustreapi_json.o liblustreapi_layout.o liblustreapi_lease.o liblustreapi_util.o liblustreapi_kernelconn.o liblustreapi_param.o ../../libcfs/libcfs/util/string.o ../../libcfs/libcfs/util/param.o liblustreapi_ladvise.o liblustreapi_chlg.o

ar: `u' modifier ignored since `D' is the default (see `U')

ranlib liblustreapitmp.a

rm -f liblustreapi.a liblustreapi.so

gcc  -shared -o liblustreapi.so `ar -t liblustreapitmp.a`

gcc: error: string.o: No such file or directory

gcc: error: param.o: No such file or directory

Makefile:1834: recipe for target 'liblustreapi.a' failed



I have searched for the issue in the mailing list. I searchech 'Ubuntu 18.04', 'string.o', 'params.o', but no issue matches my case.

Could you help to give any comments on this error? Thanks in advance.





----------------------------------

Thank you and best regards

Song, Huiming


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20191022/b07f3cd3/attachment-0001.html>


More information about the lustre-discuss mailing list