LAPACK Archives

[Lapack] can't make ATLAS shared libs (multiple liblapack def's of cpotr

I can't get ATLAS to create shared libraries with recent versions of lapack,
due to multiple definitions that, I think, seem to originate with lapack.
With lapack 3.3.0, I get the following upon issuing 'make shared' in ATLAS
build/lib, after the usual preparation:

liblapack.a(spotrf.o): In function `spotrf_':
spotrf.f:(.text+0x0): multiple definition of `spotrf_'
liblapack.a(spotrf.o):spotrf.f:(.text+0x0): first defined here
liblapack.a(cpotrs.o): In function `cpotrs_':
cpotrs.f:(.text+0x0): multiple definition of `cpotrs_'
liblapack.a(cpotrs.o):cpotrs.f:(.text+0x0): first defined here
liblapack.a(cgetrs.o): In function `cgetrs_':
cgetrs.f:(.text+0x0): multiple definition of `cgetrs_'
liblapack.a(cgetrs.o):cgetrs.f:(.text+0x0): first defined here
liblapack.a(cpotrf.o): In function `cpotrf_':
cpotrf.f:(.text+0x0): multiple definition of `cpotrf_'
liblapack.a(cpotrf.o):cpotrf.f:(.text+0x0): first defined here
liblapack.a(cgetrf.o): In function `cgetrf_':
cgetrf.f:(.text+0x0): multiple definition of `cgetrf_'
liblapack.a(cgetrf.o):cgetrf.f:(.text+0x0): first defined here
libf77blas.a(lsame.o): In function `lsame_':
lsame.f:(.text+0x0): multiple definition of `lsame_'
liblapack.a(lsame.o):lsame.f:(.text+0x0): first defined here
libf77blas.a(xerbla.o): In function `xerbla_':
xerbla.f:(.text+0x0): multiple definition of `xerbla_'
liblapack.a(xerbla.o):xerbla.f:(.text+0x0): first defined here

With lapack 3.3.0 revision 948 downloaded from the svn repository, some of
this goes away:

liblapack.a(cpotrs.o): In function `cpotrs_':
cpotrs.f:(.text+0x0): multiple definition of `cpotrs_'
liblapack.a(cpotrs.o):cpotrs.f:(.text+0x0): first defined here
libf77blas.a(lsame.o): In function `lsame_':
lsame.f:(.text+0x0): multiple definition of `lsame_'
liblapack.a(lsame.o):lsame.f:(.text+0x0): first defined here
libf77blas.a(xerbla.o): In function `xerbla_':
xerbla.f:(.text+0x0): multiple definition of `xerbla_'
liblapack.a(xerbla.o):xerbla.f:(.text+0x0): first defined here

Going back to lapack 3.2.2 and 3.2.1, I still get the same complaints about
lsame and xerbla (but not cpotrs). If this is indeed an issue with lapack,
how can I get past this problem?

--Marc Murison

-- 
Marc A. Murison
murison@Domain.Removed
http://murison.alpheratz.net/

Those who would give up essential liberty to purchase a little temporary
safety deserve neither liberty nor safety.
     Benjamin Franklin, An Historical Review of the Constitution and
     Government of Pennsylvania, 1759
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.eecs.utk.edu/mailman/private/lapack/attachments/20110304/f8e61bb8/attachment.html
 

<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or