This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libtool: link: warning


--- 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
> > 
> > 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
> 

Hi Dave,

liboctinterp_la_LDADD is not defined.

from Makefile.am
--------------------------------------------------
liboctinterp_la_LDFLAGS = -release $(version) $(NO_UNDEFINED_LDFLAG)

OCTINTERP_LINK_DEPS = \
  $(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 = $(OCTINTERP_LINK_DEPS)
----------------------------------------------

the LIBS are in the format
LAPACK_LIBS='-llapack'


It looks right to me, but my understanding of 
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]