* [PATCH] libs: Add linking dependency for libmodechk
@ 2020-09-20 19:21 Vitaly Chikunov
2020-09-28 17:43 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Vitaly Chikunov @ 2020-09-20 19:21 UTC (permalink / raw)
To: Jan Kiszka, Xenomai
When building Cobalt core ALT rpmbuild QA script detects that libmodechk
is linked improperly:
verify-elf: ERROR: ./usr/lib64/libmodechk.so.0.0.0: undefined symbol: cobalt_assert_nrt
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
---
lib/cobalt/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/cobalt/Makefile.am b/lib/cobalt/Makefile.am
index 5230a38ec..ae408b863 100644
--- a/lib/cobalt/Makefile.am
+++ b/lib/cobalt/Makefile.am
@@ -42,6 +42,8 @@ libcobalt_la_CPPFLAGS = \
-I$(top_srcdir)/include/cobalt \
-I$(top_srcdir)/include
+libmodechk_la_LIBADD = libcobalt.la
+
libmodechk_la_SOURCES = \
malloc.c \
malloc-nowrap.c
--
2.21.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libs: Add linking dependency for libmodechk
2020-09-20 19:21 [PATCH] libs: Add linking dependency for libmodechk Vitaly Chikunov
@ 2020-09-28 17:43 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2020-09-28 17:43 UTC (permalink / raw)
To: Vitaly Chikunov, Xenomai
On 20.09.20 21:21, Vitaly Chikunov wrote:
> When building Cobalt core ALT rpmbuild QA script detects that libmodechk
> is linked improperly:
>
> verify-elf: ERROR: ./usr/lib64/libmodechk.so.0.0.0: undefined symbol: cobalt_assert_nrt
>
> Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
> ---
> lib/cobalt/Makefile.am | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/lib/cobalt/Makefile.am b/lib/cobalt/Makefile.am
> index 5230a38ec..ae408b863 100644
> --- a/lib/cobalt/Makefile.am
> +++ b/lib/cobalt/Makefile.am
> @@ -42,6 +42,8 @@ libcobalt_la_CPPFLAGS = \
> -I$(top_srcdir)/include/cobalt \
> -I$(top_srcdir)/include
>
> +libmodechk_la_LIBADD = libcobalt.la
> +
> libmodechk_la_SOURCES = \
> malloc.c \
> malloc-nowrap.c
>
Thanks, applied.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-28 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-20 19:21 [PATCH] libs: Add linking dependency for libmodechk Vitaly Chikunov
2020-09-28 17:43 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.