X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4BD383D0.2050501@gmail.com> Date: Sun, 25 Apr 2010 00:50:40 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: renameutils fails to build, error linking libintl? References: <20100424225307 DOT GD3759 AT ghost DOT local DOT lan> In-Reply-To: <20100424225307.GD3759@ghost.local.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 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