slvtst.c:(.text+0x1144): undefined reference

Help
labas
2010-06-26
2013-01-09
  • labas
    labas
    2010-06-26

    During ATLAS make check I am getting errors:

    ATLAS/lib/libatlas.a -lpthread -lm
    sslvtst.o: In function `main':
    slvtst.c:(.text+0x1144): undefined reference to `clapack_sposv'
    slvtst.c:(.text+0x15a6): undefined reference to `clapack_sgesv'
    collect2: ld returned 1 exit status
    make: ***  Error 1
    make: Leaving directory `/usr/ATLAS/bin'
    make: ***  Error 2
    make: Leaving directory `/usr/ATLAS/bin'
    make: ***  Error 2
    make: Leaving directory `/usr/ATLAS'
    make: ***  Error 2

    How to solve them?