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?


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
apply.o: In function `apply_plan':
undefined reference to `_libintl_gettext'
list.o: In function `list_command':
undefined reference to `_libintl_ngettext'
qcmd.o: In function `main':
undefined reference to `_libintl_bindtextdomain'
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.


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]