Hi,
I have a rather old fortran code that I want to compile on a Mac OS 10.9. It
seems a needed library is no longer available that prevent the compilation.
Here are the errors I got when launching gcc-4 my code.f90:
Undefined symbols for architecture x86_64:
"__gfortran_compare_string", referenced from:
_writedown_ in ccKb9lV8.o
_initial_ in ccKb9lV8.o
_psf_ in ccKb9lV8.o
_MAIN__ in ccKb9lV8.o
"__gfortran_concat_string", referenced from:
_k2_ in ccKb9lV8.o
_initial_ in ccKb9lV8.o
"__gfortran_pause_string", referenced from:
_svd_ in ccKb9lV8.o
"__gfortran_set_args", referenced from:
_main in ccKb9lV8.o
"__gfortran_set_options", referenced from:
_main in ccKb9lV8.o
….
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
I have also tried with ifort (v11), for which the error is similar, but may be
a little bit more clear :
[Emmanuels-MacBook-Pro:~/Divers/CG/Owens] caux% ifort Owens.f90
ld: library not found for -lSystemStubs
Browsing the web, it seems this library that was available with Xcode until
10.6 is not anymore from 10.7. It could be working with fort v12, but I do not
have this version to test, and anyway I would prefer to have this code running
on a standard fink install, rather than only with ifort.
I tried a fink list lSystemStubs, but this library is not listed, maybe I
should use another name, but have no idea which one.
Does somebody know what can I do ?
Many thanks,
!! PLEASE NOTE MY NEW EMAIL ADDRESS !!
--------------------------------------------------------------
Emmanuel Caux, emmanuel.c...@irap.omp.eu
DR2 CNRS - Departement MICMAC
Institut de Recherche en Astrophysique et Planétologie
(IRAP formerly CESR)
BP 44346, 31028 Toulouse Cedex 4, France
Phone : (+33) 561 556 689
Fax : (+33) 561 556 651
--------------------------------------------------------------
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users