Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <00ed01c32156$ffa05eb0$78d96f83@pomello> From: "Max Bowsher" To: "Lafond, Kenneth G" , References: <64F0F24E4646E644B6AF14331D69F84101D00774 AT orsmsx403 DOT jf DOT intel DOT com> Subject: Re: A little help with a build? Date: Fri, 23 May 2003 19:13:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Cam-ScannerAdmin: mail-scanner-support AT ucs DOT cam DOT ac DOT uk X-Cam-AntiVirus: Not scanned X-Cam-SpamDetails: Lafond, Kenneth G wrote: > I'm trying to compile Cygwin from CVS. ... > I got about 20 mins or so into the compile and got the following errors: > cc1plus: warning: changing search order for system directory > "/usr/lib/gcc-lib/i686-pc-cygwin/3.2/include" > cc1plus: warning: as it has already been specified as a non-system > directory ... > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libintl.a(dcigettext.o)(.text+0 xb3a): > In function `_nl_find_msg': > /usr/src/gettext/gettext-0.11.5/intl/dcigettext.c:906: undefined reference > to `_libiconv' ... > collect2: ld returned 1 exit status > make[2]: *** [dumper.exe] Error 1 ... > I'm not sure what the system directory complaint is all about, I'm pretty sure that that is harmless. > but the one > I'm really concerned with is the missing references to _libiconv. I think > that's why the compile bombed. I did a search for 'libiconv' and 'libiconv > compile' in the archives without finding the info I think I'm looking for. How to fix: Install the 'libiconv' package from setup.exe, and either re-run configure, or manually edit obj/i686-pc-cygwin/winsup/utils/Makefile, changing "LIBICONV:=" to "LIBICONV:=-liconv". Why it happens: The build system tries to check if you have the necessary libraries to build dumper. It worked well back when Cygwin's libintl build didn't depend on libiconv. Now it does, and the build system hasn't been updated to know about this. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/