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

Peter Jones pjones at whamcloud.com
Mon Oct 21 09:05:14 PDT 2019


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/20191021/cecfea25/attachment.html>


More information about the lustre-discuss mailing list