| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4B28F022.8060806@gmail.com> |
| Date: | Wed, 16 Dec 2009 14:35:14 +0000 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: libtool: link: warning |
| References: | <792220 DOT 9483 DOT qm AT web25508 DOT mail DOT ukl DOT yahoo DOT com> |
| In-Reply-To: | <792220.9483.qm@web25508.mail.ukl.yahoo.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
Marco Atzeri wrote:
> Hi,
> we are moving octave to automake/libtool
> and currently on cygwin I have plenty of bogus warning
>
> 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]
>
> On the built libtool library file "liboctinterp.la"
> I found both the right and the wrong "extended" dependency
>
> -----------------------------------------
> ---------------------------------------------------------
>
> Any idea/suggestion on how to convince libtool to look for just
> /usr/lib/libhdf5.la
> instead of
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libhdf5.la
>
> as this seems the origin of the bogus warning ?
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.
How do your liboctinterp_la_LDADD, liboctinterp_la_LDFLAGS and/or
liboctinterp_la_LIBS definitions look? It's probably a matter of tweaking
what goes in which one.
cheers,
DaveK
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |