This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: _GETTEXT undefined problem


Max,

Thanks for the reply.  I will certainly pass on your comments to the
application developers.

In the meantime, your help was enough to point me to manually adding
"-lintl"  (and in one place, "-liconv") to four of the GNUMakefiles
generated by the configure programme.

Perhaps an ungraceful solution, but now the app does actually build, so
thanks very much!

Now all I have to do is wrestle with the differences between OpenMotif and
LessTif, as currently the app works OK in console mode, but segfaults as
soon as I try to start it in GUI mode....

Thanks again,

Jonathan

-----Original Message-----
From: Max Bowsher
To: Searle Mr JR; cygwin@cygwin.com
Sent: 19/07/03 13:51
Subject: 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]