Hi Pingfan, Thank you for the patch. > -----Original Message----- > since the following commit, -lebl has been removed from elfutils. > commit b833c731359af12af9f16bcb621b3cdc170eafbc > Author: Mark Wielaard <mark@xxxxxxxxx> > Date: Thu Aug 29 23:34:11 2019 +0200 > > libebl: Don't install libebl.a, libebl.h and remove backends from spec. > > All archive members from libebl.a are now in libdw.a. We don't generate > separate backend shared libraries anymore. So remove them from the > elfutils.spec file. > > Signed-off-by: Mark Wielaard <mark@xxxxxxxxx> > > So remove it from LIBS for makedumpfile It seems that this is ok with the latest elfutils, but with older ones? Is it possible to remove -lebl when elfutils does not have libebl.a? Thanks, Kazu > > Signed-off-by: Pingfan Liu <piliu@xxxxxxxxxx> > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 1fdb628..df21b93 100644 > --- a/Makefile > +++ b/Makefile > @@ -50,7 +50,7 @@ OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART)) > SRC_ARCH = arch/arm.c arch/arm64.c arch/x86.c arch/x86_64.c arch/ia64.c arch/ppc64.c arch/s390x.c > arch/ppc.c arch/sparc64.c > OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH)) > > -LIBS = -ldw -lbz2 -lebl -ldl -lelf -lz > +LIBS = -ldw -lbz2 -ldl -lelf -lz > ifneq ($(LINKTYPE), dynamic) > LIBS := -static $(LIBS) > endif > -- > 2.7.5 > _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec