* Compaq Fortran, blas and lapack
@ 1999-07-04 8:31 Roman Martonak
1999-07-04 16:54 ` Greg Lindahl
1999-07-04 20:10 ` xfig not displaying lines Phil Marsden
0 siblings, 2 replies; 3+ messages in thread
From: Roman Martonak @ 1999-07-04 8:31 UTC (permalink / raw)
To: axp-list
I tried to compile a program using one of LAPACK routines with Compaq
Fortran compiler, and get the following problem at linking:
martonak> fort -ocorel.x corel.f -lblas -llapack
/usr/local/lib/libblas.so: undefined reference to `e_wsfe'
/usr/local/lib/libblas.so: undefined reference to `z_abs'
/usr/local/lib/liblapack.so: undefined reference to `c_sqrt'
/usr/local/lib/liblapack.so: undefined reference to `s_cmp'
/usr/local/lib/liblapack.so: undefined reference to `r_lg10'
/usr/local/lib/liblapack.so: undefined reference to `z_exp'
/usr/local/lib/liblapack.so: undefined reference to `c_exp'
/usr/local/lib/libblas.so: undefined reference to `c_div'
/usr/local/lib/libblas.so: undefined reference to `do_fio'
/usr/local/lib/liblapack.so: undefined reference to `pow_dd'
/usr/local/lib/liblapack.so: undefined reference to `z_sqrt'
/usr/local/lib/liblapack.so: undefined reference to `s_cat'
/usr/local/lib/libblas.so: undefined reference to `s_stop'
/usr/local/lib/libblas.so: undefined reference to `c_abs'
/usr/local/lib/liblapack.so: undefined reference to `d_lg10'
/usr/local/lib/libblas.so: undefined reference to `z_div'
/usr/local/lib/libblas.so: undefined reference to `s_wsfe'
/usr/local/lib/liblapack.so: undefined reference to `s_copy'
collect2: ld returned 1 exit status
fort: Severe: Failed while trying to link.
When I use g77, it links allright. My lapack and blas libraries have been
compiled from sources at neuro.uni-oldenburg.de for use with cpml. Can one
link against these libraries using Compaq Fortran, or do they also have to
be recompiled with Compaq Fortran instead of g77 ? Or is it just necessary
to use some special compiler switches to link against libraries compiled
by a different compiler ?
Thanks in advance,
Roman Martonak.
--
Roman Martonak
Max-Planck-Institut fuer Festkoerperforschung
Heisenbergstrasse 1
D-70569 Stuttgart
Germany
Phone: + 49 711 6891756
Fax: + 49 711 6891702
e-mail: martonak@prr.mpi-stuttgart.mpg.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-07-04 20:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-04 8:31 Compaq Fortran, blas and lapack Roman Martonak
1999-07-04 16:54 ` Greg Lindahl
1999-07-04 20:10 ` xfig not displaying lines Phil Marsden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox