On 01/12/2013 02:49 AM, Tom G. Christensen wrote: > There are some link errors related to a missing gettext symbol, > some modules are missing an LDADD for LIBINTL.
I installed into gnulib the following, which I hope fixes this: --- ChangeLog | 11 +++++++++++ modules/c-xvasprintf-tests | 1 + modules/futimens-tests | 2 +- modules/readtokens-tests | 1 + modules/utimens-tests | 2 +- 5 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 732fa03..d63b173 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2013-01-12 Paul Eggert <egg...@cs.ucla.edu> + + c-xvasprintf etc.: fix link errors on older Solaris + These need to link with @LIBINTL@ to get libintl_gettext. + Problem reported by Tom G. Christensen in + <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00086.html>. + * modules/c-xvasprintf-tests (test_c_xvasprintf_LDADD): + * modules/readtokens-tests (test_readtokens_LDADD): New macros. + * modules/futimens-tests (test_futimens_LDADD): + * modules/utimens-tests (test_utimens_LDADD): Add @LIBINTL@. + 2013-01-10 Paul Eggert <egg...@cs.ucla.edu> locale: port to Solaris 2.6 and 7 + GNU gettext diff --git a/modules/c-xvasprintf-tests b/modules/c-xvasprintf-tests index b5a9262..a118de0 100644 --- a/modules/c-xvasprintf-tests +++ b/modules/c-xvasprintf-tests @@ -15,4 +15,5 @@ gt_LOCALE_FR Makefile.am: TESTS += test-c-xvasprintf.sh check_PROGRAMS += test-c-xvasprintf +test_c_xvasprintf_LDADD = $(LDADD) @LIBINTL@ TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' diff --git a/modules/futimens-tests b/modules/futimens-tests index ff98019..122ebeb 100644 --- a/modules/futimens-tests +++ b/modules/futimens-tests @@ -19,4 +19,4 @@ configure.ac: Makefile.am: TESTS += test-futimens check_PROGRAMS += test-futimens -test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) +test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@ diff --git a/modules/readtokens-tests b/modules/readtokens-tests index a1982dd..e29c2ff 100644 --- a/modules/readtokens-tests +++ b/modules/readtokens-tests @@ -11,3 +11,4 @@ configure.ac: Makefile.am: TESTS += test-readtokens.sh check_PROGRAMS += test-readtokens +test_readtokens_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/utimens-tests b/modules/utimens-tests index 4d5d1f5..1ba9cf9 100644 --- a/modules/utimens-tests +++ b/modules/utimens-tests @@ -20,4 +20,4 @@ configure.ac: Makefile.am: TESTS += test-utimens check_PROGRAMS += test-utimens -test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) +test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@ -- 1.7.11.7