delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/30/13:41:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Reply-To: <meier AT ieh DOT etec DOT uni-karlsruhe DOT de>
From: "Frank Meier" <meier AT ieh DOT etec DOT uni-karlsruhe DOT de>
To: "Cygwin" <cygwin AT cygwin DOT com>
Subject: _imp__gettext undefined when linking recode, configure
Date: Tue, 30 Oct 2001 19:04:10 +0100
Message-ID: <MABBJHBNMIJLEEEKFJBHAEJKCGAA.meier@ieh.etec.uni-karlsruhe.de>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id f9UIfpd04525

# checking news for gettext and recode first
# checking news for cygwin then

Dear Cygwin-Developers,

yersterday, I made/installed recode 3.5 and 3.6.  The only
problem was gettext.  With

./configure

the message 

/tmp/recode-3.6/src/main.c:464: undefined reference to `_imp__gettext'

appeared several times.  Adding '--with-included-gettext' when calling
configure does not change anything.  Excluding getext at all by

./configure --without-included-gettext

removes the messages and 'make; make test' is passed.  Configure reports

checking for gettext... (cached) no
checking for gettext in -lintl... (cached) yes
checking whether the included gettext is preferred... yes

if called with '--with-included-gettext' or without and

checking for gettext... (cached) no
checking for gettext in -lintl... (cached) yes
checking whether the included gettext is preferred... no

with '--without-included-gettext'. So, configure detects the installed gettext 
package correctly.

config.h contains

#define HAVE_DCGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_DCGETTEXT 1
#define ENABLE_NLS 1

if configure is called with '--with-included-gettext' or without and 

#define HAVE_DCGETTEXT 1
/* #undef HAVE_GETTEXT */
#define HAVE_DCGETTEXT 1
/* #undef HAVE_GETTEXT */
#define HAVE_GETTEXT 1
#define ENABLE_NLS 1

with '--without-included-gettext'.

Using NLS not at all by '--disable-nls' is possible as well, of course.

So _imp__gettext is not found if the gettext of recode is used and using
gettext of recode is default.  Does this make sense?  If gettext is provide
in the installation of the OS it should have priority over a local gettext
by default, I thing?

Frank



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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