bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Colored output


From: Bruno Haible
Subject: Re: Colored output
Date: Tue, 26 Mar 2019 02:23:22 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; )

Tom G. Christensen wrote:
>  From Solaris 9/sparc:
> 
> /usr/tgcware/gcc49/bin/gcc -std=gnu11  -g -O2  -L/usr/tgcware/lib 
> -R/usr/tgcware/lib -o test-term-style-control-hello test-term-style-co
> ntrol-hello.o ../gllib/libgnu.a -lm   -lm   -lm    -lm  -lm  -lm
> Undefined                       first referenced
>   symbol                             in file
> libintl_gettext                     ../gllib/libgnu.a(xalloc-die.o)

Thanks for the report. libintl is required through this dependency chain:
term-style-control -> fatal-signal -> xalloc -> xalloc-die -> gettext

This patch should fix it.


2019-03-25  Bruno Haible  <address@hidden>

        term-style-control tests: Fix link error.
        Reported by Tom G. Christensen in
        <https://lists.gnu.org/archive/html/bug-gnulib/2019-03/msg00108.html>.
        * modules/term-style-control-tests (Makefile.am): Link
        test-term-style-control-hello and test-term-style-control-yes against
        LIBINTL.

diff --git a/modules/term-style-control-tests b/modules/term-style-control-tests
index e07f394..908d9fe 100644
--- a/modules/term-style-control-tests
+++ b/modules/term-style-control-tests
@@ -13,3 +13,5 @@ Makefile.am:
 TESTS += test-term-style-control-hello
 check_PROGRAMS += test-term-style-control-hello
 noinst_PROGRAMS += test-term-style-control-yes
+test_term_style_control_hello_LDADD = $(LDADD) @LIBINTL@
+test_term_style_control_yes_LDADD = $(LDADD) @LIBINTL@




reply via email to

[Prev in Thread] Current Thread [Next in Thread]