From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27241 invoked from network); 4 Jul 1999 08:28:46 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 4 Jul 1999 08:28:46 -0000 Received: from parrix19.mpi-stuttgart.mpg.de (parrix19.mpi-stuttgart.mpg.de [134.105.18.121]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id EAA05282 for ; Sun, 4 Jul 1999 04:26:48 -0400 Received: from dial19.mpi-stuttgart.mpg.de by parrix19.mpi-stuttgart.mpg.de (AIX 4.1/UCB 5.64/BelWue-2.0RSbeta) id AA19218; Sun, 4 Jul 1999 10:26:45 +0200 Received: (from martonak@localhost) by roman.localdomain (8.8.7/8.8.7) id KAA11513; Sun, 4 Jul 1999 10:31:15 +0200 From: Roman Martonak Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <14207.7122.764648.553579@roman.localdomain> Date: Sun, 4 Jul 1999 10:31:14 +0200 (CEST) To: axp-list@redhat.com Subject: Compaq Fortran, blas and lapack X-Mailer: VM 6.67 under 20.4 "Emerald" XEmacs Lucid Reply-To: martonak@prr.mpi-stuttgart.mpg.de 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