delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/16/11:40:04

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: <413132.35645.qm@web25505.mail.ukl.yahoo.com>
Date: Wed, 16 Dec 2009 16:39:45 +0000 (GMT)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: Re: libtool: link: warning
To: cygwin AT cygwin DOT com, Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
In-Reply-To: <4B28F022.8060806@gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

Dave,
I suspect the problem is here, on the fortran libs path
coming as default=20
=20

FLIBS=3D' -L/usr/lib/gcc/i686-pc-cygwin/4.3.4 -L/usr/lib/gcc/i686-pc-cygwin=
/4.3.4/../../.. -lm -lgfortranbegin -lgfortran -lcygwin -luser32 -lkernel32=
 -ladvapi32 -lshell32'

there is the strange=20
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../..

instead of the usual=20
/usr/lib


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019