octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking liboctave fails (lapack missing?)


From: John W. Eaton
Subject: Re: linking liboctave fails (lapack missing?)
Date: Mon, 17 Aug 2009 12:27:04 -0400

On 15-Aug-2009, Benjamin Lindner wrote:

| Benjamin Lindner wrote:
| > 
| > Linking liboctinterp.dll fails with the missing symbols attached: (I
| > omitted double errors in the same object file, otherwise the list is
| > *really* long and does not contain additional information):
| > 
| > The first group stems from $(LIBCRUFT) missing as link dependency.
| > 
| > The second group stems from missing
| >    -lgdi32 (GetDeviceCaps)
| >    -liberty (mkstemps)
| > The first is the windows system GDI library and the second is the
| > mingw/gcc support library.
| > Both are added to $LIBS during configure stage for the mingw platform
| > 
| > The third group stems from $(FLIBS) missing as link dependency.
| > 
| > To link successfully I have to do
| > 
| > OCTINTERP_LINK_DEPS = $(RLD_FLAG) -L../liboctave $(LIBOCTAVE)
| > -L../libcruft $(LIBCRUFT) \
| >    $(HDF5_LIBS) $(ZLIB_LIBS) $(X11_LIBS) $(OPENGL_LIBS) $(CARBON_LIBS) \
| >    $(LIBS) $(FLIBS)
| 
| Looking closely I see that $(LIBS) already contains -lgfortran as the 
| configure summary tells:
| 
|    Fortran libraries:    -lgfortran
|    LIBS:                 -liberty -llapack -lblas -lgfortran -lblas -lm 
|   -lgdi32 -lws2_32 -luser32 -lkernel32

I think it is a mistake that $(BLAS_LIBS) and $(FLIBS) appear in LIBS.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]