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

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

Re: glade: undefined reference to bind_textdomain_codeset


From: Bruno Haible
Subject: Re: glade: undefined reference to bind_textdomain_codeset
Date: Mon, 3 Jun 2002 15:14:39 +0200 (CEST)

Felix Natter writes:

> I have problems building glade 1.1.0
>  (you can find it here but this requires gtk+ 2.0:
>   http://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/glade/glade-1.1.0.tar.gz):
> main.o: In function `main':
> /home/felix/src/gtk/glade/glade/main.c:173: undefined reference to 
> `bind_textdomain_codeset'
> collect2: ld returned 1 exit status

This is not a bug in GNU gettext. The problem comes from the obsolete
macros AM_GLIB_WITH_NLS and AM_GLIB_GNU_GETTEXT in
glade-1.1.0/aclocal.m4. It would work if the package was using the GNU
gettext 0.11.2 macros instead, and invoking it using
AM_GNU_GETTEXT([need-ngettext]). (The bind_textdomain_codeset function
was introduced at the same time as ngettext, therefore the requirement
for bind_textdomain_codeset is equivalent to the requirement for
ngettext.)

> if I do "nm libc-2.1.3.so" I get "no symbols".

Use "nm --dynamic libc-2.1.3.so".

Bruno



reply via email to

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