linking static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hei Guys

is there an issue with the current version (gfortran-4.4) and producing a 
statically linked binary, whcih used to work a number of months ago.
I wan to link this mighty prog
program uiu
      integer lntrait,lpdiag,lsol,info
      call dppsv ('L',lntrait,1,lpdiag,lsol,lntrait,info)
end program uiu

dppsv is a lapack routine:
eg@eno:~/f95pest/src$ nm /usr/lib/liblapack.a|grep dppsv
dppsv.o:
0000000000000000 T dppsv_

yet running:
eg@eno:~/f95pest/src$ gfortran  -llapack iii.f90  - dynamic works fine
eg@eno:~/f95pest/src$ gfortran  -llapack -static iii.f90
/tmp/ccaTvIx8.o: In function `MAIN__':
iii.f90:(.text+0x54): undefined reference to `dppsv_'

whats up?

any ideas?

Greetings

Eildert
-- 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux