This is the mail archive of the cygwin 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]

renameutils fails to build, error linking libintl?


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 
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=gnu99 -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/

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB

Attachment: pgp00000.pgp
Description: PGP signature


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