bug-gnulib
[Top][All Lists]
Advanced

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

Re: Tests failing to build with external getttext


From: Bruno Haible
Subject: Re: Tests failing to build with external getttext
Date: Wed, 12 Aug 2009 23:33:58 +0200
User-agent: KMail/1.9.9

Tom G. Christensen wrote:
> On Solaris 2.6 building the daily snapshot fails due to missing symbols
> in some of the tests:
> Undefined                       first referenced
>  symbol                             in file
> libintl_gettext                     ../gllib/libgnu.a(pipe-filter-gi.o)
> Undefined                       first referenced
>  symbol                             in file
> libintl_gettext                     ../gllib/libgnu.a(pipe-filter-ii.o)
> 
> It seems pipe-filter-gi-test and pipe-filter-ii-test needs to link with
> libintl.

Thanks for the report. This should fix it:


2009-08-12  Bruno Haible  <address@hidden>

        Avoid test link errors.
        * modules/pipe-filter-ii-tests (Makefile.am): Define
        test_pipe_filter_ii1_LDADD and test_pipe_filter_ii2_main_LDADD.
        * modules/pipe-filter-gi-tests (Makefile.am): Define
        test_pipe_filter_gi1_LDADD and test_pipe_filter_gi2_main_LDADD.
        Reported by Tom G. Christensen <address@hidden>.

--- modules/pipe-filter-gi-tests.orig   2009-08-12 23:33:04.000000000 +0200
+++ modules/pipe-filter-gi-tests        2009-08-12 23:31:06.000000000 +0200
@@ -21,3 +21,5 @@
 TESTS += test-pipe-filter-gi1.sh test-pipe-filter-gi2.sh
 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
 check_PROGRAMS += test-pipe-filter-gi1 test-pipe-filter-gi2-main 
test-pipe-filter-gi2-child
+test_pipe_filter_gi1_LDADD = $(LDADD) @LIBINTL@
+test_pipe_filter_gi2_main_LDADD = $(LDADD) @LIBINTL@
--- modules/pipe-filter-ii-tests.orig   2009-08-12 23:33:04.000000000 +0200
+++ modules/pipe-filter-ii-tests        2009-08-12 23:31:06.000000000 +0200
@@ -19,3 +19,5 @@
 TESTS += test-pipe-filter-ii1.sh test-pipe-filter-ii2.sh
 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
 check_PROGRAMS += test-pipe-filter-ii1 test-pipe-filter-ii2-main 
test-pipe-filter-ii2-child
+test_pipe_filter_ii1_LDADD = $(LDADD) @LIBINTL@
+test_pipe_filter_ii2_main_LDADD = $(LDADD) @LIBINTL@




reply via email to

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