X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_YG X-Spam-Check-By: sourceware.org Date: Sun, 25 Apr 2010 00:53:07 +0200 From: d DOT sastre DOT medina AT gmail DOT com To: Subject: renameutils fails to build, error linking libintl? Message-ID: <20100424225307.GD3759@ghost.local.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GxcwvYAGnODwn7V8" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --GxcwvYAGnODwn7V8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I'm trying to build renameutils[1], some tools for easy renaming of files; it builds OOTB without nls support, but if I try to=20 enable it, I crash against this: (gettext and libintl's stuff while configuring) ... checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge ... checking for GNU gettext in libc... no ... checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... -lintl ... (errors while compiling) ... gcc -std=3Dgnu99 -Wall -g -O2 -o qcmd.exe apply.o display.o edit.o list.o interactive.o plan.o qcmd.o quote.o variables.o editformats/lib_editformats.a common/lib_common.a ../lib/libgnu.a -lreadline apply.o: In function `apply_plan': /usr/local/packages/release/renameutils/renameutils-0.10.0/src/apply.c:110: undefined reference to `_libintl_gettext' ... list.o: In function `list_command': /usr/local/packages/release/renameutils/renameutils-0.10.0/src/list.c:202: undefined reference to `_libintl_ngettext' ... qcmd.o: In function `main': /usr/local/packages/release/renameutils/renameutils-0.10.0/src/qcmd.c:159: undefined reference to `_libintl_bindtextdomain' /usr/local/packages/release/renameutils/renameutils-0.10.0/src/qcmd.c:161: undefined reference to `_libintl_textdomain' ... However, those symbols exist in: $ nm /usr/lib/libintl.a ... 00000380 T _libintl_bind_textdomain_codeset 00000360 T _libintl_bindtextdomain 00000000 T _libintl_gettext 00000000 T _libintl_textdomain 00000000 T _libintl_ngettext ... $ cygcheck -c gettext libintl8 Cygwin Package Information Package Version Status gettext 0.17-11 OK libintl8 0.17-11 OK Somebody has a hint about this? Thanks and regards. [1]http://www.nongnu.org/renameutils/ --=20 Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB --GxcwvYAGnODwn7V8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkvTdlIACgkQ0Tqi4ZilyVO//gCggeO1/a8rppB9OWH6Tw73auLT 2NkAn1CjHO9zxD/Yb7qMDxR34acPqc2c =61iY -----END PGP SIGNATURE----- --GxcwvYAGnODwn7V8--