This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: renameutils fails to build, error linking libintl?
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 25 Apr 2010 00:50:40 +0100
- Subject: Re: renameutils fails to build, error linking libintl?
- References: <20100424225307.GD3759@ghost.local.lan>
On 24/04/2010 23:53, d.sastre.medina wrote:
> 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'
> However, those symbols exist in:
>
> $ nm /usr/lib/libintl.a
Yes, but for some reason the -lintl never made it through to the command
line it ended up using above. You'll need to look into the makefile and
configure script to try and figure out how it got lost. Or if you just want
to get the build completed, cut and paste that line and add -lintl manually.
It's also possible, but less likely, that among those "(errors while
compiling)" is something which explains the disappearance.
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple