David Fang <fang <at> csl.cornell.edu> writes:
>
> Hi,
> That's rather odd. Can you output for me:
>
> % sw_vers
> % gcc -v
> % uname -a
>
> And what kind of machine you're running?
>
> Fang
Hi,
I've encountered precisely this error on one of the new MacBook Pros.
gmp-4.3.2 and gmp5-5.0.1 fail the same way. I include messages
from the tail end of the compilation below, and also the answers to
the questions you asked for my system.
Thanks,
Kent
>sw_vers
ProductName: Mac OS X
ProductVersion: 10.6.6
BuildVersion: 10J3210
>gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~38/src/configure --disable-checking
--enable-werror
--prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)
>uname -a
Darwin d-172-25-103-97.bootp.virginia.edu 10.7.1 Darwin Kernel Version 10.7.1:
Mon Jan 31
14:55:53 PST 2011; root:xnu-1504.10.48~4/RELEASE_X86_64 x86_64
libtool: link: g++ -m32 -O2 -pedantic -fomit-frame-pointer
-mtune=i386 -march=i386
-o .libs/t-assign t-assign.o
-L/sw/src/fink.build/gmp5-5.0.1-5/gmp-5.0.1/.libs
-L/sw/lib ../../tests/.libs/libtests.a ../../.libs/libgmpxx.dylib
/sw/src/fink.build/gmp5-5.0.
1-5/gmp-
5.0.1/.libs/libgmp.dylib ../../.libs/libgmp.dylib
Undefined symbols:
"___sync_fetch_and_add_4", referenced from:
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpq() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpf() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
check_mpz() in t-assign.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [t-assign] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
### execution of /var/tmp/tmp.1.UAclW1 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gmp5-5.0.1-5
(Reading database ... 4408 files and directories currently installed.)
Removing fink-buildlock-gmp5-5.0.1-5 ...
Failed: phase compiling: gmp5-5.0.1-5 failed
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners