bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Build fail


From: Bruno Haible
Subject: Re: Build fail
Date: Wed, 13 Sep 2006 14:08:52 +0200
User-agent: KMail/1.9.1

Hello,

Mark Detrick wrote:
> 
> Configure fails to correctly evaluate the environment and build fails.
> 
> Version: gettext-0.15
> SunOS hassium 5.10 Generic_118833-22 sun4u sparc SUNW,Ultra-60
> Using: gcc-4.1.1, GNU make, libtool, ld, as

> /usr/bin/bash ../libtool --tag=CC --mode=link gcc
> -I/usr/local/share/gettext/intl  -lintl -o msginit  msginit-msginit.o
> msginit-lang-table.o msginit-plural-count.o msginit-localealias.o
> ../intl/localename.lo libgettextsrc.la
> 
> 
> 
> gcc -I/usr/local/share/gettext/intl -o .libs/msginit msginit-msginit.o
> msginit-lang-table.o msginit-plural-count.o msginit-localealias.o
> ../intl/.libs/localename.o  -L/usr/local/lib ./.libs/libgettextsrc.so
> /appl/gettext/gettext-0.15/gettext-tools/lib/.libs/libgettextlib.so
> /appl/gettext/gettext-0.15/gettext-tools/intl/.libs/libintl.so
> /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lc  -Wl,--rpath
> -Wl,/usr/local/lib
> 
> msginit-localealias.o: In function `_nl_expand_alias':
> 
> localealias.c:(.text+0xc): undefined reference to
> `libintl_thread_in_use'

Thanks for the report. The attached patch should fix it (assumes you
have automake, autoconf, GNU m4 available on that machine).

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




reply via email to

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