I was finally able to reproduce this on a fresh bootstrap, but never on my 
primary fink, even after removing as many gmp* packages as possible. 
Anyhow, it looks like this is due to some architecture mismatch during 
compile or link earlier in the build.  Will look into it further...

Fang

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On a clean install of the package, with the following system parameters:
>
> $ fink -V
> Package manager version: 0.29.99.cvs
> Distribution version: selfupdate-cvs Wed Jan 12 09:20:24 2011, 10.6, x86_64
> Trees: stable/main stable/crypto unstable/main unstable/crypto
> local/main local/injected
>
> $ fink list xcode | tail -n 1
> i     xcode   3.2.5-1 [virtual package representing the developer tools]
>
> I have a linker failure as below:
>
> ...
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests  -fexceptions
> - -I/sw32/include  -O2 -pedantic -m64 -mtune=core2 -march=core2 -c -o
> t-istream.o t-istream.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O2 -pedantic -m64
> - -mtune=core2 -march=core2  -L/sw32/lib/x86_64 -L/sw32/lib -o t-istream
> t-istream.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la
> ../../libgmp.la
> libtool: link: g++ -O2 -pedantic -m64 -mtune=core2 -march=core2 -o
> .libs/t-istream t-istream.o
> - -L/sw32/src/fink.build/gmp5-64bit-5.0.1-5/gmp-5.0.1/.libs
> - -L/sw32/lib/x86_64 -L/sw32/lib ../../tests/.libs/libtests.a
> ../../.libs/libgmpxx.dylib
> /sw32/src/fink.build/gmp5-64bit-5.0.1-5/gmp-5.0.1/.libs/libgmp.dylib
> ../../.libs/libgmp.dylib
> ld: warning: directory '/sw32/lib/x86_64' following -L not found
> Undefined symbols:
>  "operator>>(std::basic_istream<char, std::char_traits<char> >&,
> __mpf_struct*)", referenced from:
>      check_mpf()    in t-istream.o
>  "operator>>(std::basic_istream<char, std::char_traits<char> >&,
> __mpq_struct*)", referenced from:
>      check_mpq()    in t-istream.o
>  "operator>>(std::basic_istream<char, std::char_traits<char> >&,
> __mpz_struct*)", referenced from:
>      check_mpz()    in t-istream.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[4]: *** [t-istream] Error 1
>
> - --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk0zkeUACgkQB8UpO3rKjQ+6OACbBCU0ppC7q3BkQ1LXoRQxZUOl
> vwQAoJgexJaS6BIqKRBpC5RuTTclRmcb
> =U8Zb
> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Fink-devel mailing list
> Fink-devel@lists.sourceforge.net
> http://news.gmane.org/gmane.os.apple.fink.devel
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-devel
>

David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to