[GRASSLIST:972]
Cannata, Massimiliano
massimiliano.cannata at supsi.ch
Tue Aug 19 08:55:54 EDT 2003
Still when i compile my script, i cannot recognize the
blas/lapack function. Still get: undefined reference to
`G_matrix_init'
I have already reconfigured my grass files --with-blas and
--with-lapack option but nothing changed!
Any idea?There's nothing i can do?
Thanks
PS: here is a part of my config.log file:
configure:10037: checking whether to use BLAS
configure:10059: checking for location of BLAS library
configure:10086: checking for dnrm2_ in -lblas
configure:10103: gcc -o conftest -O3 -march=pentium4 -Wall
-s conftest.c -lblas -lm 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libblas.so:
undefined reference to `e_wsfe'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libblas.so:
undefined reference to `z_abs'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libblas.so:
undefined reference to `do_fio'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libblas.so:
undefined reference to `s_stop'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libblas.so:
undefined reference to `c_abs'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libblas.so:
undefined reference to `s_wsfe'
collect2: ld returned 1 exit status
configure: failed program was:
#line 10092 "configure"
#include "confdefs.h"
* Override any gcc2 internal prototype to avoid an error.
*/
/* We use char because int might match the return type of
a gcc2
builtin and then its argument prototype would still
apply. */
char dnrm2_();
int main() {
dnrm2_()
; return 0; }
configure:10122: checking for dnrm2_ in -lblas
configure:10139: gcc -o conftest -O3 -march=pentium4 -Wall
-s conftest.c -lblas -lm -lg2c 1>&5
configure:10192: checking whether to use LAPACK
configure:10214: checking for location of LAPACK library
configure:10241: checking for dgesv_ in -llapack
configure:10258: gcc -o conftest -O3 -march=pentium4 -Wall
-s conftest.c -llapack -lblas -lg2c -lm 1>&5
Thanks !
--------------------------------------
Eng. Massimiliano Cannata
Phd student
www.supsi.ch
More information about the grass-user
mailing list