-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/2/10 1:09 PM, Matt Kozak wrote:
> I have a program that runs fine on our linux server under gfortran, but 
> after grabbing the latest gfortran v4.0.2 (stable; gcc4 and its shlibs 
> are 2:4.0.2-2; gcc4.0 = 4.0.1.5250 and virtual, while gfortran is 
> "provided" and virtual), I get the following on a Powerbook with fink 
> installed:
> -----
> $ which gfortran
> /sw/bin/gfortran
> $ gfortran Program.F90 -o Program
> /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may 
> result in errors or different symbols being used
> symbol _clogf used from dyanmic library 
> /usr/lib/libSystem.dylib(complex.o) not from earlier dynamic library 
> /usr/lib/libmx.A.dylib(single module)
> -----
> ...with a whole alphebetical list of even more symbol errors, followed by 
> a bad exit:
> -----
> collect2: ld returned 1 exit status
> -----
> 
> I looked in the archives and such, but the closest thing I saw was a user 
> with issues on Panther, and some chatter about it being fixed in Tiger, 
> but I'm on Tiger v10.4.11 and am getting the above error/failure.
> 
> Unlike a different thread I also found via Google, the executable does not 
> get created, so it's fatal.
> 
> I did a selfupdate and scnapackages and still get the same failures.
> 
> Here's some additional data:
> -----
> $ sw_vers
> ProductName:  Mac OS X
> ProductVersion:       10.4.11
> BuildVersion: 8S165
> $ gcc -v
> Using built-in specs
> Target:       powerpc-apple-darwin8
> Configured with:      /private/var/tmp/gcc/gcc-5250.obj~12/src/configure 
> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man 
> --enable-languages=c, objc, c++, obj-c++ 
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ 
> --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8 
> --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
> Thread model: posix
> gcc version 4.0.1 (Apple Computer, Inc. build 5250)
> $ fink -V
> Package manager version: 0.24.26
> Distribution version: 0.8.0 rsync powerpc
> 
> Copyright (c) 2001 Christoph Pfisterer
> Copyright (c) 2001-2006 The Fink Package Manager Team
> This program is distributed in the hope that it will be useful, but 
> WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
> or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License 
> for more details.
> -----
> 
> Thanks,
> -Matt
> 

You're using the deprecated 10.4-transitional distribution, which has
been unsupported since Summer of 2006.   Our latest gfortran is from
gcc4.4.

I'd recommend following the ideas in

http://finkers.wordpress.com/2009/08/31/starting-anew/

to capture your list of installed packages, and then remove your /sw
tree and install the Fink-0.8.1. installer, and lastly follow the
reinstallation instructions from the URL above.

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku2TjoACgkQB8UpO3rKjQ+a9QCfYpG7UhlcDVDnYv4089XwADul
U4gAnjRLzcjawZw10YZuh4c7oLfC3DLp
=KAlB
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to