This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: _GETTEXT undefined problem
Searle Mr JR wrote:
> /usr/bin/gcc -L/home/otb/OTB_Intnl_ABCA/lib -L/usr/X11R6/lib
bmap_to_lmap.o
> -o bmap_to_lmap
> bmap_to_lmap.o(.text+0x186):bmap_to_lmap.c: undefined reference to
> `_gettext'
There is no -lintl on the gcc command line to tell it to look for a
libintl.a
This only worked on Linux because gettext is built into libc there. This is
a bug in the applications configure/make arrangements. Tell the developers,
they will probably fix it.
Max.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/