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:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=xTVFzCkbHnbM0SHvyR7wlFyCww5bYmx2uOXCTcGE1hR6rJJdgp7VI wvbgcLHyE0p+9IreDWjtJYC2Jms/77sWC9HB3fudnyydGIHqCH3yEEKRe93OfATn fEqUClX6EDmJFY3e5xcxFjCaT+OBNRBj9WqfXm87w5tOaaroayPDcU= 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:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=C+wl8xdZRYSn9D6xQSeXhOa/TUI=; b=vaZQtsQ7e0oNSdc2DX5ETYw6XKwK R1R0eag4BTvn3tcsp2rEyzLq/rvqSWTgkZ3+U5asmFYfVa3TpFmp0WWwcbj9JNE6 MS0f95TSOmz0cAlZi10Us9MRWGxZ2T9WMsExrxThNDPp1y9NfDZdoj8fhmxQvg/g lQh3JeV1XqUalsQ= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Tue, 15 Apr 2014 11:31:13 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: libtool: link: object name conflicts in archive Message-ID: <20140415093113.GF3271@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <7c71eb34219779df3fb3d492f29bcead AT mail DOT eclipso DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jZNlLGxhPb4urluq" Content-Disposition: inline In-Reply-To: <7c71eb34219779df3fb3d492f29bcead@mail.eclipso.de> User-Agent: Mutt/1.5.21 (2010-09-15) --jZNlLGxhPb4urluq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 15 07:22, Gisela Haschmich wrote: >=20 > Hello, >=20 > i tried to compile MBDyn 1.5.5 with cygwin and got an error "libtool: lin= k: object name conflicts in archive". I used the same for 1.5.0 and it work= ed. >=20 >=20 > make[2]: Entering directory '/home/ntmoe/mbdyn-1.5.5/libraries/libmbwrap' > /bin/sh ../../libtool --tag=3DCXX --mode=3Dlink g++ -g -O2 -o libmbw= rap.la harwout.lo harwout_.lo harwrap.lo kluwrap.lo lapackwrap.lo linsol.l= o mschwrap.lo naivewrap.lo parnaivewrap.lo parsuperluwrap.lo superluwrap.lo= umfpackwrap.lo taucswrap.lo y12wrap.lo wsmpwrap.lo ../libmbmath/libmbmat= h.la ../libmbutil/libmbutil.la ../libobjs/libobjs.la ../libcolamd/libmbdync= olamd.la ../libnaive/libnaive.la /home/ntmoe/mbdyn-1.5.5/libraries/liby12/l= iby12.la -lm -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/gc= c/x86_64-pc-cygwin/4.8.2/../../.. -lgfortran -lquadmath -lm -lcygwin -ladva= pi32 -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 -lkerne= l32 -lltdl > libtool: link: rm -fr .libs/libmbwrap.lax > libtool: link: (cd .libs/libmbwrap.lax/libmbmath.lib && ar x "/home/ntmoe= /mbdyn-1.5.5/libraries/libmbwrap/../libmbmath/.libs/libmbmath.lib") > libtool: link: (cd .libs/libmbwrap.lax/libmbutil.lib && ar x "/home/ntmoe= /mbdyn-1.5.5/libraries/libmbwrap/../libmbutil/.libs/libmbutil.lib") > libtool: link: (cd .libs/libmbwrap.lax/libobjs.lib && ar x "/home/ntmoe/m= bdyn-1.5.5/libraries/libmbwrap/../libobjs/.libs/libobjs.lib") > libtool: link: (cd .libs/libmbwrap.lax/libmbdyncolamd.lib && ar x "/home/= ntmoe/mbdyn-1.5.5/libraries/libmbwrap/../libcolamd/.libs/libmbdyncolamd.lib= ") > libtool: link: (cd .libs/libmbwrap.lax/libnaive.lib && ar x "/home/ntmoe/= mbdyn-1.5.5/libraries/libmbwrap/../libnaive/.libs/libnaive.lib") > libtool: link: (cd .libs/libmbwrap.lax/liby12.lib && ar x "/home/ntmoe/mb= dyn-1.5.5/libraries/liby12/.libs/liby12.lib") > libtool: link: object name conflicts in archive: .libs/libmbwrap.lax/liby= 12.lib//home/ntmoe/mbdyn-1.5.5/libraries/liby12/.libs/liby12.lib > Makefile:458: recipe for target 'libmbwrap.la' failed > make[2]: *** [libmbwrap.la] Error 1 > make[2]: Leaving directory '/home/ntmoe/mbdyn-1.5.5/libraries/libmbwrap' > Makefile:344: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/home/ntmoe/mbdyn-1.5.5/libraries' > Makefile:448: recipe for target 'all-recursive' failed > make: *** [all-recursive] Error 1 >=20 > i found with google, that it could be an error with path variable, becaus= e it needs lib.exe from Visual Studio. I changed it to minimal, but i have = still the same error No, it doesn't. Libtool calls gcc, it never tries to use VS tools. This looks like a problem earlier in the build. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --jZNlLGxhPb4urluq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTTPxhAAoJEPU2Bp2uRE+gs8QP/jfGn6R3j4HWLmyZN/DfOX1C AiBTYAX6YYIN81r4hxbF4vfY+OL5P3/bT5Jd+La03kNevMm7XXGX5oT7NcJ4u9yM 5ilVmGuxd7NwulMGS+pX6rbf5VQk6e0E/sDIra4AHoFl0VLdNK7v46FvYgFGiY7z /8PCrVgdtvwjkkEWlVmiaTM1wo2icmGGXFEk8Ne+SeRHiWg7XnS3ithfvr0wyMyx jQxAb3HuDLReZ4OQrDsVdPo/jxZ6r6IK0zmmPLw4heVJ+iFCp5/9zZOAOxScnJ4P F0T3OT/aK4mCQTriN8RKLtVt33rjSn5+3ntxwnxBKZUkdySQsUYL19gw86l+CRaH HfzmZ+sENCZtJjCtfxsVAxZeIbbhFhG2Zy9dGQNXfZl2brxFm4TpOp1/E0I+qd5k 0AfVCEWPnnefskpj2tvdLnoOZx6IIDIDZrfZlmmLXYGTGN5kwOr5w9MV7ilzG2fw W4uQ2fREL0mu8vS1nqYwHDdIXIPNHAljUTLEdjSOexc273ucfUj4w9sDq/5fYkXI 3m6IdmkfAAcbJWxyTx1kGZSiXFoG9oxqq+L4gSquFGmvpVoZPtOtmM5L/wvEB3VN fk3r5zbOUo+34s2uoKSDdoKCeE8zo3i6kqDXShhFG9nckjP+17co58AaO05HHuS5 N+b1YBEQsGd2cdT2ZBs+ =yi0l -----END PGP SIGNATURE----- --jZNlLGxhPb4urluq--