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




-------------------------------------------------------
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

Reply via email to