Not easily. Which fink packages are broken?
The one I spent most of today fixing up is ccp4, which is in sci/unstable. This is a rather large amalgamation (300 MB) of X-ray crystallography programs written mostly in fortran but many combine both C and fortran. Fixing the flags for this and for linking to apple's blas/lapack in about 20 different Makefiles finally solved the problem. (The version currently in unstable builds its own lapack libraries but about 2/3 of the 175 programs had compilations that broke due to the new requirement for
-lcc_dynamic. Unfortunately I was unable to figure out how to set this globally for the whole suite.)
I maintain a few others like this. This one is probably the worst case, and I finally got it fixed a few hours ago. I haven't had a chance to look at the rest yet.
I'm also dependent on a second such crystallography and NMR program suite. I haven't submitted it to fink because the download is restricted. It is called CNS. Briefly, it went from compiling without so much as a warning with g77 3.1 to failing with errors of the form:
flags: fortran -> [g77] -fno-globals -Wno-globals -O3 -funroll-loops c -> [gcc] -O -ffast-math -DCNS_ARCH_TYPE_G77_UNIX link -> [g77] -w
compiling: angledb.f
compiling: aria.f
compiling: ariass.f
compiling: arical.f
compiling: ariman.f
compiling: arivio.f
compiling: array.f
compiling: carb.f
compiling: cluster.f
compiling: cns.f
compiling: connect.f
compiling: coorio.f
compiling: corman.f
compiling: coup.f
compiling: cstack.f
compiling: cstran.f
compiling: dcartesian.f
compiling: define.f
/usr/tmp/ccCv52Qf.s:9379:FATAL:Symbol L_deffreerec_$stub already defined.
make[3]: *** [define.o] Error 1
There are three others like this, but with different variables. I had another user report this problem a couple of months ago but since g77 3.4 was in unstable at the time I suggested she revert to 3.1.
I've tried the above flags as well as -flat_namespaces but frankly am totally out of my depth for diagnosing this. I think this is failing at the compile stage anyway. The above flags are what work for g77 3.1
Thanks.
Bill
William G. Scott
This only happens when you use cc as a linker, or link a c object file
with your fortran code. I don't think code compiled and linked with g77
3.4 will give this error.
-Jeff
-- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449 325 Broadway Web : http://www.cdc.noaa.gov/~jsw Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124
Associate Professor Department of Chemistry and Biochemistry and The Center for the Molecular Biology of RNA Sinsheimer Laboratories University of California at Santa Cruz Santa Cruz, California 95064 USA
phone: +1-831-459-5367 (office)
+1-831-459-5292 (lab)
fax: +1-831-4593139 (fax)
url: http://chemistry.ucsc.edu/scott_w.html
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
