X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:mime-version:message-id:from:subject :reply-to:to:in-reply-to:references:content-type :content-transfer-encoding; q=dns; s=default; b=jqe72e5SEQT/WR3q 5LYOTI23l1ChMe/RjrYbNyJBXrfe8EGULUdXg79jaRFt/8Fp67aOUNCtdTfg4gyE 2RLlOQCy6FugXCEsD0cOBVmtw+8ZC6wEWHuYdG20lKtf9Sz7f8yVbpFx8E6OtMmx LgKcJ/hhq5rpHPoh8BFVhzyVqyU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:mime-version:message-id:from:subject :reply-to:to:in-reply-to:references:content-type :content-transfer-encoding; s=default; bh=h5MO58/jNK1qw0NRciXjf4 Xtg38=; b=AMNHlntE2EFpKA7X2My/qOqvGRy34IQjqCz5CnDdRDRC6TxLySthpY L6OCuo5e/+v6yrdPucfMJH8mm7w3O6MLn9kZ1zFHztMbnib2LY+kCC5+hGfOYTgy BUbTCbPQ4VgwHwX9q7q0o0isC2g5SIgcSpYG/TGKN5YmmjIj0QaZ4= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail.eclipso.de Date: Wed, 16 Apr 2014 07:21:25 +0000 MIME-Version: 1.0 Message-ID: X-Sender-IP: 195.179.63.178 From: "Gisela Haschmich" Subject: Re: Re: libtool: link: object name conflicts in archive Reply-To: "Gisela Haschmich" To: In-Reply-To: <534DC67C.3080909@lysator.liu.se> References: <7c71eb34219779df3fb3d492f29bcead AT mail DOT eclipso DOT de> <20140415093113 DOT GF3271 AT calimero DOT vinschen DOT de> <22601c400b5e0fffb54b32a9d6b2bdf8 AT mail DOT eclipso DOT de> <20140415112757 DOT GI3271 AT calimero DOT vinschen DOT de> <534DC67C DOT 3080909 AT lysator DOT liu DOT se> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-IsSubscribed: yes > Side note, the GNU "equivalent" of MS lib.exe is ar. (ld corresponds > to MS link.exe). > > Regarding the issue, it is a bad sign that the archives are named libmbmath.lib, > > libmbutil.lib etc. For a Cygwin build, you want them named libmbmath.a. The > .lib suffix is a clear indicator of a problem earlier in the build, just > like Corinna said. Is the Cygwin binutils package installed properly? I > imagine something like this could happen if the binutils install is broken > and the Microsoft tools are on $PATH (but I haven't tested that). I tried it now with $ echo $PATH /usr/local/bin:/usr/bin:/usr/lib/lapack and got lib: command not found /bin/sh ../../libtool --tag=F77 --mode=link gfortran -o liby12.la y12mae.lo y12maf.lo y12mbe.lo y12mbf.lo y12mce.lo y12mcf.lo y12mde.lo y12mdf.lo y12mfe.lo y12mge.lo y12mhe.lo -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../.. -lgfortran -lquadmath -lm -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lltdl -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../.. -lgfortran -lquadmath -lm -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../.. -lgfortran -lquadmath -lm -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lltdl libtool: link: lib -OUT:.libs/liby12.lib .libs/y12mae.o .libs/y12maf.o .libs/y12mbe.o .libs/y12mbf.o .libs/y12mce.o .libs/y12mcf.o .libs/y12mde.o .libs/y12mdf.o .libs/y12mfe.o .libs/y12mge.o .libs/y12mhe.o ../../libtool: line 1117: lib: command not found -- 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