[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undefined reference to ngettext
From: |
Bruno Haible |
Subject: |
Re: undefined reference to ngettext |
Date: |
Tue, 9 Apr 2002 21:36:43 +0200 (CEST) |
Felix Natter writes:
> > You need to link with libintl if it is outside glibc. Adding
> >
> > LDADD = @LTLIBINTL@
> >
> > to your Makefile.am accomplishes this.
>
> thanks a lot, but shouldn't this be documented in gettextize or in the
> gettext-documentation or in gettext.m4, where NEEDSYMBOL is documented ?
It is documented in section "`Makefile.in' in `src/'", item 5:
You should ensure that the final linking will use address@hidden@' or
address@hidden@' as a library. address@hidden@' is for use without
`libtool', address@hidden@' is for use with `libtool'.
> I also think that gettextize should tell the user to put intl in SUBDIRS
> when --intl is specified (it took me some time to figure this out)
gettextize 0.11 does add intl to SUBDIRS when there is a Makefile.am.
Bruno