[PATCH] libs: Add linking dependency for libmodechk

Jan Kiszka jan.kiszka at siemens.com
Mon Sep 28 19:43:06 CEST 2020


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 at 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



More information about the Xenomai mailing list