[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building uninorm tests fail with external gettext
From: |
Bruno Haible |
Subject: |
Re: Building uninorm tests fail with external gettext |
Date: |
Fri, 27 Feb 2009 23:04:46 +0100 |
User-agent: |
KMail/1.9.9 |
Tom G. Christensen wrote:
> Trying to build the daily snapshot on IRIX 6.5.30 I run into problems
> when building with external gettext:
>
> cc -c99 -g -L/usr/nekoware/lib -Wl,-rpath,/usr/nekoware/lib
> -Wl,--as-needed -o test-u32-nfc-big test-u32-nfc-big.o test-u32-normalize
> -big.o ../gllib/libgnu.a -lm
> (null): WARNING 1 : Unknown option: -as-needed (ignored).
> ld32: ERROR 33 : Unresolved text symbol "libintl_gettext" -- 1st
> referenced by ../gllib/libgnu.a(xalloc-die.o).
> Use linker option -v to see when and which objects, archives and
> dsos are loaded.
> ld32: INFO 152: Output file removed because of error.
> gmake[4]: *** [test-u32-nfc-big] Error 2
>
> A bit of digging suggests that test_u32_nfc_big, test_u32_nfd_big,
> test_u32_nfkc_big and test_u32_nfkd_big needs to LDADD LIBINTL.
Yes, thanks for reporting this. This should fix it:
2009-02-27 Bruno Haible <address@hidden>
Avoid test link errors.
* modules/uninorm/nfc-tests (test_u32_nfc_big_LDADD): New variable.
* modules/uninorm/nfd-tests (test_u32_nfd_big_LDADD): New variable.
* modules/uninorm/nfkc-tests (test_u32_nfkc_big_LDADD): New variable.
* modules/uninorm/nfkd-tests (test_u32_nfkd_big_LDADD): New variable.
Reported by Tom G. Christensen <address@hidden>.
*** modules/uninorm/nfc-tests.orig 2009-02-27 23:01:34.000000000 +0100
--- modules/uninorm/nfc-tests 2009-02-27 23:01:16.000000000 +0100
***************
*** 31,33 ****
--- 31,34 ----
test_u32_nfc_big_SOURCES = \
uninorm/test-u32-nfc-big.c \
uninorm/test-u32-normalize-big.c
+ test_u32_nfc_big_LDADD = $(LDADD) @LIBINTL@
*** modules/uninorm/nfd-tests.orig 2009-02-27 23:01:34.000000000 +0100
--- modules/uninorm/nfd-tests 2009-02-27 23:01:16.000000000 +0100
***************
*** 31,34 ****
--- 31,35 ----
test_u32_nfd_big_SOURCES = \
uninorm/test-u32-nfd-big.c \
uninorm/test-u32-normalize-big.c
+ test_u32_nfd_big_LDADD = $(LDADD) @LIBINTL@
*** modules/uninorm/nfkc-tests.orig 2009-02-27 23:01:34.000000000 +0100
--- modules/uninorm/nfkc-tests 2009-02-27 23:01:16.000000000 +0100
***************
*** 31,34 ****
--- 31,35 ----
test_u32_nfkc_big_SOURCES = \
uninorm/test-u32-nfkc-big.c \
uninorm/test-u32-normalize-big.c
+ test_u32_nfkc_big_LDADD = $(LDADD) @LIBINTL@
*** modules/uninorm/nfkd-tests.orig 2009-02-27 23:01:34.000000000 +0100
--- modules/uninorm/nfkd-tests 2009-02-27 23:01:16.000000000 +0100
***************
*** 31,34 ****
--- 31,35 ----
test_u32_nfkd_big_SOURCES = \
uninorm/test-u32-nfkd-big.c \
uninorm/test-u32-normalize-big.c
+ test_u32_nfkd_big_LDADD = $(LDADD) @LIBINTL@