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]

Re: renameutils fails to build, error linking libintl?

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.


Problem reports:
Unsubscribe info:

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