octave-maintainers
[Top][All Lists]
Advanced

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

Re: CVS Build problem (what.m missing?)


From: Fredrik Lingvall
Subject: Re: CVS Build problem (what.m missing?)
Date: Thu, 25 Oct 2007 10:11:07 +0200
User-agent: Thunderbird 2.0.0.6 (X11/20070807)

John W. Eaton wrote:
> On 23-Oct-2007, Fredrik Lingvall wrote:
>
> | checking BLAS library calling convention compatibility... ./configure: 
> | line 14550: $F77: command not found
> | ./configure: line 14551: $F77: command not found
> | ./configure: line 14576: conftest.: command not found
> | no
> | configure: WARNING: Your BLAS library was apparently compiled with a Fortran
> | configure: WARNING: compiler that uses a different calling convention from
> | configure: WARNING: the one used by the selected compiler, gfortran.
> | configure: error: You must correct this problem before building Octave.
> | fllap5 octave #           
> | 
> | I don't understand this error since I only have one compiler installed 
> | which was used for
> | building both BLAS/LAPACK and octave.
>
> Sorry, I just broke this.  I unintentionally checked in a change
> before it was ready.  It should be fixed soon.
>
> jwe
>   
Hm, I'm still having problems with this,

...

checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore,
no extra underscore
checking whether gfortran accepts -mieee-fp... yes
adding -mieee-fp to FFLAGS
configure: defining FFLAGS to be -O3 -pipe -mtune=pentium-m
-march=pentium-m -mfpmath=sse -msse2 -fomit-frame-pointer -funroll-loops
-fprefetch-loop-arrays -pthread -mieee-fp
checking whether gfortran accepts -ffloat-store... yes
setting F77_FLOAT_STORE_FLAG to -ffloat-store
checking for sgemm_ in /usr/local/lib/libBLAS.so... yes
checking for cheev_ in /usr/local/lib/libLAPACK.so... yes
checking BLAS library calling convention compatibility... no
configure: WARNING: Your BLAS library was apparently compiled with a Fortran
configure: WARNING: compiler that uses a different calling convention from
configure: WARNING: the one used by the selected compiler, gfortran.
configure: error: You must correct this problem before building Octave.

Setup:

fllap4 octave # gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --enable-secureplt
--disable-libunwind-exceptions --disable-multilib --enable-libmudflap
--disable-libssp --disable-libgcj --enable-languages=c,c++,fortran
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 (Gentoo 4.1.2)

./configure CFLAGS="-O3 -pipe -mtune=pentium-m -march=pentium-m
-mfpmath=sse -msse2 -fomit-frame-pointer -funroll-loops
-fprefetch-loop-arrays -pthread" CXXFLAGS="-O3 -pipe -mtune=pentium-m
-march=pentium-m -mfpmath=sse -msse2 -fomit-frame-pointer -funroll-loops
-fprefetch-loop-arrays -pthread" FFLAGS="-O3 -pipe -mtune=pentium-m
-march=pentium-m -mfpmath=sse -msse2 -fomit-frame-pointer -funroll-loops
-fprefetch-loop-arrays -pthread"  --prefix=/usr/local/
--with-blas=/usr/local/lib/libBLAS.so
--with-lapack=/usr/local/lib/libLAPACK.so --enable-shared --without-hdf5

fllap4 octave # uname -a
Linux fllap4 2.6.20-gentoo-r8 #6 PREEMPT Sat Oct 6 11:27:38 Local time
zone must be set--see z i686 Intel(R) Pentium(R) M processor 2.00GHz
GenuineIntel GNU/Linux

GOTO BLAS (libgoto_banias-r1.13.so), lapack v. 3.0, and octave, all
compiled with the same gcc/gfortran complier.
.

/Fredrik


reply via email to

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