I tried to make wannier90 with g95.  I first made netlib's LAPACK and then ATLAS using g95 and they seem to work.  However, when using the make.sys.g95 file I tried to make wannier and got the following.<br><p>[root@krdell wannier]# make wannier
<br> (cd src ; make prog)
<br> make[1]: Entering directory `/home/Keith/pwscfwannier/interpolation-
<br> package/wannier/src'
<br> g95 wannier_prog.F90 -O2 parameters.o io.o utility.o overlap.o kmesh.o
<br> disentangle.o wannierise.o plot.o comms.o  -L/home/Keith/atlas/lib  -
<br> llapack -lf77blas -lcblas -latlas -o ../wannier90.x
<br> /home/Keith/atlas/lib/liblapack.a(dgesvd.o): In function `dgesvd_':
<br> dgesvd.f:(.text+0x35d): undefined reference to `s_cat'
<br> dgesvd.f:(.text+0x6e0): undefined reference to `s_cat'
<br> /home/Keith/atlas/lib/liblapack.a(dormbr.o): In function `dormbr_':
<br> dormbr.f:(.text+0x2b0): undefined reference to `s_cat'
<br> dormbr.f:(.text+0x554): undefined reference to `s_cat'
<br> /home/Keith/atlas/lib/liblapack.a(dormlq.o): In function `dormlq_':
<br> dormlq.f:(.text+0x202): undefined reference to `s_cat'
<br> /home/Keith/atlas/lib/liblapack.a(dormlq.o):dormlq.f:(.text+0x64c):
<br> more undefined references to `s_cat' follow
<br> /home/Keith/atlas/lib/liblapack.a(zlahqr.o): In function `zlahqr_':
<br> zlahqr.f:(.text+0x41c): undefined reference to `z_abs'
<br> zlahqr.f:(.text+0x49a): undefined reference to `z_abs'
<br> zlahqr.f:(.text+0x1574): undefined reference to `z_abs'
<br> zlahqr.f:(.text+0x1c39): undefined reference to `z_sqrt'
<br> zlahqr.f:(.text+0x1c6f): undefined reference to `z_sqrt'
<br> zlahqr.f:(.text+0x1e4e): undefined reference to `z_sqrt'
<br> zlahqr.f:(.text+0x2015): undefined reference to `z_abs'
<br> /home/Keith/atlas/lib/liblapack.a(zlange.o): In function `zlange_':
<br> zlange.f:(.text+0x95): undefined reference to `z_abs'
<br> zlange.f:(.text+0xd1): undefined reference to `z_abs'
<br> zlange.f:(.text+0xf4): undefined reference to `z_abs'
<br> zlange.f:(.text+0x135): undefined reference to `z_abs'
<br> /home/Keith/atlas/lib/liblapack.a(zlange.o):zlange.f:(.text+0x153):
<br> more undefined references to `z_abs' follow
<br> /home/Keith/atlas/lib/liblapack.a(zlaqr0.o): In function `zlaqr0_':
<br> zlaqr0.f:(.text+0x160d): undefined reference to `z_sqrt'
<br> /home/Keith/atlas/lib/liblapack.a(zlaqr4.o): In function `zlaqr4_':
<br> zlaqr4.f:(.text+0x15ec): undefined reference to `z_sqrt'
<br> /home/Keith/atlas/lib/liblapack.a(zunmbr.o): In function `zunmbr_':
<br> zunmbr.f:(.text+0x2d3): undefined reference to `s_cat'
<br> zunmbr.f:(.text+0x58e): undefined reference to `s_cat'
<br> /home/Keith/atlas/lib/liblapack.a(zunmlq.o): In function `zunmlq_':
<br> zunmlq.f:(.text+0x202): undefined reference to `s_cat'
<br> zunmlq.f:(.text+0x666): undefined reference to `s_cat'
<br> /home/Keith/atlas/lib/liblapack.a(zunmqr.o): In function `zunmqr_':
<br> zunmqr.f:(.text+0x20a): undefined reference to `s_cat'
<br> /home/Keith/atlas/lib/liblapack.a(zunmqr.o):zunmqr.f:(.text+0x657):
<br> more undefined references to `s_cat' follow
<br> /home/Keith/atlas/lib/liblapack.a(dlamch.o): In function `dlamc2_':
<br> dlamch.f:(.text+0xf06): undefined reference to `s_wsfe'
<br> dlamch.f:(.text+0xf1d): undefined reference to `do_fio'
<br> dlamch.f:(.text+0xf25): undefined reference to `e_wsfe'
<br> /home/Keith/atlas/lib/liblapack.a(zgebal.o): In function `zgebal_':
<br> zgebal.f:(.text+0x915): undefined reference to `z_abs'
<br> zgebal.f:(.text+0x973): undefined reference to `z_abs'
<br> /home/Keith/atlas/lib/liblapack.a(zlacn2.o): In function `zlacn2_':
<br> zlacn2.f:(.text+0x240): undefined reference to `z_abs'
<br> zlacn2.f:(.text+0x29b): undefined reference to `z_abs'
<br> zlacn2.f:(.text+0x2d2): undefined reference to `z_abs'
<br> /home/Keith/atlas/lib/liblapack.a(zlacn2.o):zlacn2.f:(.text+0x30f):
<br> more undefined references to `z_abs' follow
<br> make[1]: *** [prog] Error 1
<br> make[1]: Leaving directory `/home/Keith/pwscfwannier/interpolation-
<br> package/wannier/src'
<br> make: *** [wannier] Error 2
<br> </p><p>Does anyone know what is going on?  From searching I'm guessing that
<br> these functions are in a library that's not "linked."  However I'm not
<br> sure what to do.
<br> </p><p>Thank you very much, I'm new to Linux and appreciate all the help I can get.
  </p>