[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Version 0.15 compile broke on Solaris 8
From: |
Bruno Haible |
Subject: |
Re: Version 0.15 compile broke on Solaris 8 |
Date: |
Mon, 4 Sep 2006 21:22:51 +0200 |
User-agent: |
KMail/1.9.1 |
Hello,
Aaron Williams wrote:
> /var/tmp/gcc4/gettext-0.15/gettext-tools/lib/.libs/libgettextlib.so
> -L/opt/gcc4/lib /opt/gcc4/lib/libiconv.so -lc -Wl,--rpath -Wl,/opt/gcc4/lib
> msginit-localealias.o: In function `_nl_expand_alias':
> ../../gettext-runtime/intl/localealias.c:163: undefined reference to
> `libintl_thread_in_use'
> ../../gettext-runtime/intl/localealias.c:210: undefined reference to
> `libintl_thread_in_use'
> collect2: ld returned 1 exit status
> make[4]: *** [msginit] Error 1
> ...
> This was compiled on Sparc Solaris 2.8 with GCC 4.1.1.
Thanks for the report. Here is a patch that fixes it.
Thanks for having provided the precise OS and GCC versions. This bug
occurs only with GCC 4.0 or newer and only on Solaris.
Bruno
*** gettext-tools/src/Makefile.am 2 Aug 2006 14:29:54 -0000 1.69
--- gettext-tools/src/Makefile.am 4 Sep 2006 19:19:46 -0000
***************
*** 204,210 ****
msggrep_SOURCES = ../woe32dll/c++msggrep.cc
endif
msginit_SOURCES = msginit.c
! msginit_SOURCES += lang-table.c plural-count.c
../../gettext-runtime/intl/localealias.c
if !WOE32DLL
msguniq_SOURCES = msguniq.c
else
--- 204,216 ----
msggrep_SOURCES = ../woe32dll/c++msggrep.cc
endif
msginit_SOURCES = msginit.c
! msginit_SOURCES += lang-table.c plural-count.c
! msginit_SOURCES += ../../gettext-runtime/intl/localealias.c
! # This is needed because on Solaris, localealias.c requires the symbol
! # libintl_thread_in_use which is defined in lock.c. The copy of lock.c inside
! # libintl.so is not sufficient, because libintl.so doesn't export the symbol
! # libintl_thread_in_use.
! msginit_SOURCES += ../../gettext-runtime/intl/lock.c
if !WOE32DLL
msguniq_SOURCES = msguniq.c
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Version 0.15 compile broke on Solaris 8,
Bruno Haible <=