Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Problem linking math-atlas libraries after update

 
   FreeBSD Hosting (Home) -> FreeBSD Ports RSS
Next:  ion-3 20070720: undefined reference to lua  
Author Message
Arjan Gijsberts

External


Since: Jul 24, 2007
Posts: 1



(Msg. 1) Posted: Tue Jul 24, 2007 12:38 am
Post subject: Problem linking math-atlas libraries after update
Archived from groups: mailing>freebsd>ports (more info?)

Hi,

Yesterday I have upgraded math/atlas-devel to version atlas3.7.34. Since
then I receive several errors when trying to link my application with the
libraries 'cblas' and 'clapack'. Needless to say, prior to the update
everything was linking just fine.

The errors that I get are 'undefined reference' for practically any
cblas/lapack routine that I use (see below). I am compiling with the
following libraries (tested for both g++ and g++42):
g++ -I. -I/usr/local/include -L/usr/local/lib -lalapack -lf77blas -lcblas -latlas
-lg2c -lm

I have tried various variants of the order (although this should be the
recommend one), with no success. Would anyone know how to analyze and/or
resolve this problem? Any help will be greatly appreciated!

Cheers,

Arjan Gijsberts

PS: I apologize if this mailinglist turns out not to be the right place to
issue this question.

--- errors ---
liblssvm/LSSVM.o(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6detail5getrfE11CBLAS_ORDERiiPdiPi+0x1c):
In function `boost::numeric::bindings::atlas::detail::getrf(CBLAS_ORDER,
int, int, double*, int, int*)':
: undefined reference to `clapack_dgetrf'
liblssvm/LSSVM.o(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6detail5getriE11CBLAS_ORDERiPdiPKi+0x19):
In function `boost::numeric::bindings::atlas::detail::getri(CBLAS_ORDER,
int, double*, int, int const*)':
: undefined reference to `clapack_dgetri'
liblssvm/LSSVM.o(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6detail4gemmE11CBLAS_ORDER15CBLAS_TRANSPOSES5_iiidPKdiS7_idPdi+0x37):
In function `boost::numeric::bindings::atlas::detail::gemm(CBLAS_ORDER,
CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int, int, double, double const*, int,
double const*, int, double, double*, int)':
: undefined reference to `cblas_dgemm'
liblssvm/LSSVM.o(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6detail4gemvE11CBLAS_ORDER15CBLAS_TRANSPOSEiidPKdiS7_idPdi+0x34):
In function `boost::numeric::bindings::atlas::detail::gemv(CBLAS_ORDER,
CBLAS_TRANSPOSE, int, int, double, double const*, int, double const*, int,
double, double*, int)':
: undefined reference to `cblas_dgemv'
liblssvm/LSSVM.o(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6detail5potrfE11CBLAS_ORDER10CBLAS_UPLOiPdi+0x19):
In function `boost::numeric::bindings::atlas::detail::potrf(CBLAS_ORDER,
CBLAS_UPLO, int, double*, int)':
: undefined reference to `clapack_dpotrf'
liblssvm/LSSVM.o(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6detail5potriE11CBLAS_ORDER10CBLAS_UPLOiPdi+0x19):
In function `boost::numeric::bindings::atlas::detail::potri(CBLAS_ORDER,
CBLAS_UPLO, int, double*, int)':
: undefined reference to `clapack_dpotri'
liblssvm/LSSVM.o(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6detail4symmE11CBLAS_ORDER10CBLAS_SIDE10CBLAS_UPLOiidPKdiS8_idPdi+0x37):
In function `boost::numeric::bindings::atlas::detail::symm(CBLAS_ORDER,
CBLAS_SIDE, CBLAS_UPLO, int, int, double, double const*, int, double const*,
int, double, double*, int)':
: undefined reference to `cblas_dsymm'
liblssvm/Kernel.o(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6detail3dotEiPKdiS5_i+0x19):
In function `boost::numeric::bindings::atlas::detail::dot(int, double
const*, int, double const*, int)':
: undefined reference to `cblas_ddot'
---------

_______________________________________________
freebsd-ports DeleteThis @freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

 >> Stay informed about: Problem linking math-atlas libraries after update 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
math/octave doesn't see atlas - I have two systems and both want to install math/atlas when I try to update octave. I have atlas-3.6.0_2,1 installed on both systems. ===> octave-2.1.73_2 depends on executable in : gnuplot - found ===> octave-2.1.73_2 depends on executable in...

math/atlas does not build - Reproducibly stops at same place. This is probably pilot error, but I have no clue. Is this known? Any help appreciated. uname -a FreeBSD leucine.activesitedynamics.com 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 #0: Thu Jan 8 17:33:50 CST 2009 ..

math/atlas not detecting second CPU - math/atlas-3.6.0,1 fails during install ("unable to get timings in tolerance") and I noticed that the FreeBSD port for ATLAS does not detect my second CPU even though the original ATLAS program does detect both my CPUs. The latest fix to th...

math/ATLAS upgrade fails Benchmarking xzllttst - This is a multi-part message in MIME format. --------------030405030108010401040700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am duplicating Karsten Rothemund's earlier post, as my error message is..

Linking against BLAS/LAPACK and optimized BLAS - ATLAS (wa.. - Hi here is some tips again * Linking blas/lapack or atlas ..if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS) WITH_ATLAS= yes ..endif ..if defined(WITH_ATLAS) LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas BLAS= -lf77blas -la...
   FreeBSD Hosting (Home) -> FreeBSD Ports All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]