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 Date: Wed, 9 Oct 2002 21:38:26 +0200 From: =?iso-8859-1?Q?Christian_J=F6nsson?= To: binutils , cygwin AT cygwin DOT com Subject: Re: How do I compile binutils on cygwin? Message-ID: <20021009213826.A8867@u1sparc.j-son.org> Mail-Followup-To: binutils , cygwin AT cygwin DOT com References: <20021009191108 DOT A8827 AT u1sparc DOT j-son DOT org> <20021009184859 DOT GA31260 AT redhat DOT com> <20021009211445 DOT C8846 AT u1sparc DOT j-son DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021009211445.C8846@u1sparc.j-son.org>; from christian@j-son.org on Wed, Oct 09, 2002 at 09:14:45PM +0200 On Wed, Oct 09, 2002 at 09:14:45PM +0200, Christian Jönsson wrote: > On Wed, Oct 09, 2002 at 02:48:59PM -0400, Christopher Faylor wrote: > > On Wed, Oct 09, 2002 at 03:37:06PM -0300, Alexandre Oliva wrote: > > >On Oct 9, 2002, Christian J?nsson wrote: > > > > > >> grep: /usr/lib/libiconv.la: No such file or directory > > >> sed: can't read /usr/lib/libiconv.la: No such file or directory > > > > > >Looks like you're missing this library, that's probably a dependency > > >of some other library you have installed and that is being linked > > >with. > > > > Correct. You can find out which package contains this file by using > > the package search at http://cygwin.com/packages/ . > > > > Then, rerun setup.exe, and install it. It's most likely in the "Devel" > > category. > > great, thanks for that, it's at libiconv... easy, duh... > > works fine... > for that part, I get into other issues instead... generating import library for `cygintl-2.dll' dlltool --as=as --dllname cygintl-2.dll --def .libs/cygintl-2.dll-def --output-l ib .libs/libimp-cygintl-2.a extracting exported symbol list from `cygiconv-2.dll' test -f .libs/impgen.c || \ sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \ *\// { s/^# //; p; }" -e d < ./libtool > .libs/impgen.c test -f .libs/impgen.exe || (cd .libs && \ if test "x" != "x" ; then -o impgen impgen.c ; \ else gcc -o impgen impgen.c ; fi) .libs/impgen /usr/lib/../bin/cygiconv-2.dll > .libs/cygiconv-2.dll-def generating import library for `cygiconv-2.dll' dlltool --as=as --dllname cygiconv-2.dll --def .libs/cygiconv-2.dll-def --output -lib .libs/libimp-cygiconv-2.a gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o size.exe size.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a -L/usr/local/src/gcc-binuti ls/trunk/objdir-binutils/bfd/../libiberty -liberty -L/usr/local/src/gcc-binutils /trunk/objdir-binutils/bfd/../intl .libs/libimp-cygintl-2.a -L/usr/lib .libs/lib imp-cygiconv-2.a -lcygwin -lkernel32 ../libiberty/libiberty.a ./../intl/libintl. a ./../intl/libintl.a(loadmsgcat.o): In function `nl_load_domain': /usr/local/src/gcc-binutils/trunk/src/intl/loadmsgcat.c:84: multiple definition of `_nl_msg_cat_cntr' .libs/libimp-cygintl-2.a(ds00010.o)(.text+0x0): first defined here collect2: ld returned 1 exit status make[3]: *** [size.exe] Error 1 make[3]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir-binutils/bi nutils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir-binutils/bi nutils' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir-binutils/bi nutils' make: *** [all-binutils] Error 2 hints? I had this libtool warning: libtool: link: warning: `/lib/libintl.la' seems to be moved however, I do have the file... $ ls -l /lib/libintl.la -rwx------ 1 chj Ingen 707 Sep 20 05:47 /lib/libintl.la chj AT D90V2D0J /usr/local/src/gcc-binutils/trunk/objdir-binutils $ so perhaps something's spooky about libtool? Cheers, /ChJ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/