[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Daily snapshot fails to build with external gettext
From: |
Eric Blake |
Subject: |
Re: Daily snapshot fails to build with external gettext |
Date: |
Wed, 16 Sep 2009 17:53:21 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Tom G. Christensen <tgc <at> jupiterrise.com> writes:
> Once again the snapshot is broken when using external gettext:
> gcc -std=gnu99 -g -O2 -L/usr/tgcware/lib -Wl,-R,/usr/tgcware/lib
> -Wl,-z,ignore -o test-parse-duration test-parse-duration.o ../gllib/libgnu.a -
lm
> Undefined first referenced
> symbol in file
> libintl_gettext ../gllib/libgnu.a(xalloc-die.o)
Thanks for the report. Easy enough to fix; I'll push the below later today.
But thinking about it more, since every test module that ever [in]directly uses
xalloc will have the same problem, would it be smarter to teach gnulib-tool to
automatically add this line automatically instead of having to do it manually
on a per-test basis? I'm not sure how complex this would be to implement, but
it would reduce the frequency of these broken build reports!
From: Eric Blake <address@hidden>
Date: Wed, 16 Sep 2009 11:49:31 -0600
Subject: [PATCH] parse-duration-tests: avoid link failure
* modules/parse-duration-tests (test_parse_duration_LDADD): Add
LIBINTL.
Reported by Tom G. Christensen.
Signed-off-by: Eric Blake <address@hidden>
---
ChangeLog | 7 +++++++
modules/parse-duration-tests | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 60ee21b..7374a37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-16 Eric Blake <address@hidden>
+
+ parse-duration-tests: avoid link failure
+ * modules/parse-duration-tests (test_parse_duration_LDADD): Add
+ LIBINTL.
+ Reported by Tom G. Christensen.
+
2009-09-02 Eric Blake <address@hidden>
gnulib-comp: reduce configure size
diff --git a/modules/parse-duration-tests b/modules/parse-duration-tests
index d50a165..81094de 100644
--- a/modules/parse-duration-tests
+++ b/modules/parse-duration-tests
@@ -12,3 +12,4 @@ Makefile.am:
TESTS += test-parse-duration.sh
TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@'
check_PROGRAMS += test-parse-duration
+test_parse_duration_LDADD = $(LDADD) @LIBINTL@
--
1.6.4.2