delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/19/12:51:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <55360F67A4EAD611B38F00B0D0D1AC6B1BAA42@uxstaff.staff.rmcs.cranfield.ac.uk>
From: Searle Mr JR <J DOT R DOT Searle AT rmcs DOT cranfield DOT ac DOT uk>
To: "'Max Bowsher '" <maxb AT ukf DOT net>,
"'cygwin AT cygwin DOT com '"
<cygwin AT cygwin DOT com>
Subject: RE: _GETTEXT undefined problem
Date: Sat, 19 Jul 2003 17:47:23 +0100
MIME-Version: 1.0

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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019