help-octave
[Top][All Lists]
Advanced

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

Re: octave & ATLAS


From: Steven G. Johnson
Subject: Re: octave & ATLAS
Date: Mon, 17 Apr 2000 14:02:20 -0400 (EDT)

On Mon, 17 Apr 2000, Stef Pillaert wrote:
> int main() {
> gethostname()
> ; return 0; }
> configure:4083: checking size of short
> configure:4102: gcc -o conftest -g -O2  -g
> conftest.c -llapack -lf77blas -lcblas -latlas -lm  1>&5
> /usr/bin/../lib/liblapack.so: undefined reference to `e_wsfe'
> [...]

Those functions are not LAPACK functions per se, they are functions in the
Fortran library of your compiler.  Since the C compiler is being used,
however, those libraries need to be linked explicitely.

Octave should probably be using the AC_F77_LIBRARY_LDFLAGS to determine
this (this is new in the recent autoconf versions, and I had been under
the impression that it was based on something done by Octave, actually,
but apparenty Octave is not getting the right Fortran compiler here.)

Is it possible that you have multiple Fortran compilers on your system,
and that Octave is being compiled with one while LAPACK was compiled with
another?

Steven




-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

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