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 <br...@clisp.org> 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@