[PATCH] libs: Add linking dependencies to libcopperplate and libsmokey

Lange Norbert norbert.lange at andritz.com
Tue Sep 15 14:19:19 CEST 2020


On debian, dh_shlibdeps (dpkg-shlibdeps) should be able to diagnose this aswell.

Norbert

> -----Original Message-----
> From: Xenomai <xenomai-bounces at xenomai.org> On Behalf Of Jan Kiszka
> via Xenomai
> Sent: Dienstag, 15. September 2020 12:39
> To: Vitaly Chikunov <vt at altlinux.org>; Xenomai <xenomai at xenomai.org>
> Subject: Re: [PATCH] libs: Add linking dependencies to libcopperplate and
> libsmokey
>
> NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR
> ATTACHMENTS.
>
>
> On 14.09.20 23:52, Vitaly Chikunov wrote:
> > ALT rpmbuild QA script detects that libsmokey and libcopperplate is
> > improperly linked (when built for Mercury core).
> >
> > Excerpt from the error message:
> >    verify-elf: ERROR: ./usr/lib64/libsmokey.so.0.0.0: undefined symbol:
> get_mem_size
> >    verify-elf: ERROR: ./usr/lib64/libcopperplate.so.0.0.0: undefined
> > symbol: get_mem_size
> >
>
> Could such a test be added to our regular build, or is it depending on rpm or
> altlinux?
>
> > Signed-off-by: Vitaly Chikunov <vt at altlinux.org>
> > ---
> >   lib/copperplate/Makefile.am | 3 ++-
> >   lib/smokey/Makefile.am      | 1 +
> >   2 files changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/lib/copperplate/Makefile.am b/lib/copperplate/Makefile.am
> > index f832d1c89..c7104eb02 100644
> > --- a/lib/copperplate/Makefile.am
> > +++ b/lib/copperplate/Makefile.am
> > @@ -2,7 +2,8 @@
> >   lib_LTLIBRARIES = libcopperplate.la
> >
> >   libcopperplate_la_LDFLAGS = @XENO_LIB_LDFLAGS@ -lpthread -lrt
> > -version-info 0:0:0 -libcopperplate_la_LIBADD =
> > +libcopperplate_la_LIBADD = @XENO_CORE_LDADD@
> > +
> >   noinst_LTLIBRARIES =
> >
> >   libcopperplate_la_SOURCES = \
> > diff --git a/lib/smokey/Makefile.am b/lib/smokey/Makefile.am index
> > 53c775c68..4ecae1f16 100644
> > --- a/lib/smokey/Makefile.am
> > +++ b/lib/smokey/Makefile.am
> > @@ -1,6 +1,7 @@
> >   lib_LTLIBRARIES = libsmokey.la
> >
> >   libsmokey_la_LDFLAGS = @XENO_LIB_LDFLAGS@ -version-info 0:0:0
> > +libsmokey_la_LIBADD = @XENO_CORE_LDADD@
> >
> >   libsmokey_la_SOURCES =      \
> >       helpers.c       \
> >
>
> Thanks, applied to next.
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate
> Competence Center Embedded Linux

________________________________

This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.

ANDRITZ HYDRO GmbH


Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation

Firmensitz/ Registered seat: Wien

Firmenbuchgericht/ Court of registry: Handelsgericht Wien

Firmenbuchnummer/ Company registration: FN 61833 g

DVR: 0605077

UID-Nr.: ATU14756806


Thank You
________________________________


More information about the Xenomai mailing list