William Scott wrote:
On Sat, 20 May 2006, Martin Costabel wrote:
Jeff Whitaker wrote:
William Scott wrote:
Hi folks:
With the new gcc4 gfortran/odcctools I get errors of the following
form:
/sw/lib/odcctools/bin/ld: Undefined symbols:
__d
collect2: ld returned 1 exit status
Is there a simple workaround?
Bill
Bill: Are you intel or ppc? I have a feeling that the patch I
added to get gcj to work on intel may have broken ppc.
The thread says intel :-) I haven't managed to get this error yet.
The only place where I see this symbol undefined is
/sw/lib/gcc4/lib/libstdc++.dylib; it is defined in the corresponding
libgcc_s. So to get this error, one has to link with Fink's libstdc++
and with Apple's libgcc_s, in the right order. Not easy.
On ppc, the new version now compiles, too; the preceding one didn't.
--
Martin
Could that happen if I am linking to the blas/lapack framework that
came with the computer?
Meanwhile, it all works fine on a phenotypically identical package I
made with gcc4-4.0.3, so it is some difference that gets introduced in
the later branch.
Would it be permissible for me to put that gcc4-4.0.3 I made into fink
if I were to name it something like oldgfortran or some such thing,
and leave everything in /sw/lib/%n/bin without any symbolic links?
Right now I have a major fortran package that works with g77 and with
gfortran-4.0.3, so this would be a temporary band-aid fix until the
problem, completely beyond my capacity, is fixed upstream.
Thanks.
Bill
Bill: I think I asked you this before, but why not use g95? In my
experience, it's more robust (but produces slower code) than gfortran
4.1. A lot more robust than gfortran 4.0. If you have some code that
doesn't work with g95, send it to me and I'll forward it to the g95
developer - he's helped me get several packages working with g95.
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449
325 Broadway Boulder, CO, USA 80305-3328
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel