X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MIME_QP_LONG_LINE X-Spam-Check-By: sourceware.org Message-ID: <547189.37528.qm@web25501.mail.ukl.yahoo.com> Date: Wed, 16 Dec 2009 15:55:03 +0000 (GMT) From: Marco Atzeri Subject: Re: libtool: link: warning To: cygwin AT cygwin DOT com In-Reply-To: <4B28F022.8060806@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 --- Mer 16/12/09, Dave Korn ha scritto: > Marco Atzeri wrote: > > Hi, > > we are moving octave to automake/libtool > > and currently on cygwin I have plenty of bogus > warning > >=20 > > libtool: link: warning: > `/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libhdf5.la' > seems to be moved > > libtool: link: warning: > `/usr/lib/gcc/i686-pc-cygwin/4.3..4/../../../libfontconfig.la' > seems to be moved > > libtool: link: warning: > `/usr/lib/gcc/i686-pc-cygwin/4.3.4/.../../../libexpat.la' > seems to be moved > > [cut] > >=20 > > On the built libtool library file "liboctinterp.la" > > I found both the right and the wrong "extended" > dependency=20 > >=20 > > ----------------------------------------- >=20 > > > --------------------------------------------------------- > >=20 > > Any idea/suggestion on how to convince libtool to look > for just > > /usr/lib/libhdf5.la > > instead of=20 > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libhdf5.la > >=20 > > as this seems the origin of the bogus warning ? >=20 > =A0 Until one of the experts shows up, I'll post my > (probably half-garbled and > incomplete mis-)understanding: it depends which of the > libtool variables you > add -l and -L options to whether they get carried over into > the dependencies > or not, but if I try to remember the exact rules I'll > probably get it wrong. >=20 > =A0 How do your liboctinterp_la_LDADD, > liboctinterp_la_LDFLAGS and/or > liboctinterp_la_LIBS definitions look?=A0 It's probably > a matter of tweaking > what goes in which one. >=20 > =A0 =A0 cheers, > =A0 =A0 =A0 DaveK >=20 Hi Dave, liboctinterp_la_LDADD is not defined. from Makefile.am -------------------------------------------------- liboctinterp_la_LDFLAGS =3D -release $(version) $(NO_UNDEFINED_LDFLAG) OCTINTERP_LINK_DEPS =3D \ $(RLD_FLAG) \ ../liboctave/liboctave.la \ ../libcruft/libcruft.la \ ../libgnu/libgnu.la \ $(FFTW_XLDFLAGS) $(FFTW_XLIBS) \ $(HDF5_LDFLAGS) $(HDF5_LIBS) $(Z_LDFLAGS) $(Z_LIBS) \ $(OPENGL_LIBS) $(X11_LIBS) $(CARBON_LIBS) \ $(READLINE_LIBS) $(TERM_LIBS) \ $(LIBGLOB) \ $(LAPACK_LIBS) $(BLAS_LIBS) \ $(LIBS) \ $(FLIBS) liboctinterp_la_LIBADD =3D $(OCTINTERP_LINK_DEPS) ---------------------------------------------- the LIBS are in the format LAPACK_LIBS=3D'-llapack' It looks right to me, but my understanding of=20 automake matter is still very basic Thanks Marco -- 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