|
From: David F. <fa...@cs...> - 2011-02-25 23:12:48
|
Hi, My sw_vers matches yours, as does gcc -v. My uname -a looks a little different b/c I'm not running virtualbox. Mine says Darwin Kernel Version 10.6.0. I noticed that your build log shows -march=i386, where mine shows core2. Do you know what processor you have? (Apple-menu: About this Mac.) I can't seem to find the library that's supposed to contain this symbol... Fang > Hi, > The OS is run via virtualbox on a 64bit system giving it 1,904MB ram and > 1CPU. > The outputs are below. > sw_vers: > ProductName: Mac OS X > ProductVersion: 10.6.6 > BuildVersion: 10J567 > > gcc -v: > Using built-in specs. > Target: i686-apple-darwin10 > Configured with: /var/tmp/gcc/gcc-5664~89/src/configure --disable-checking > --enable-werror --prefix=/usr --mandir=/usr/share/man > --enable-languages=c,objc,c++,obj-c++ > --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib > --build=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1 > --host=i686-apple-darwin10 --target=i686-apple-darwin10 > Thread model: posix > gcc version 4.2.1 (Apple Inc. build 5664) > > uname -a: > Darwin Wastrel-iTabletPC.local 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov > 26 20:52:27 EST 2010; legacy kernel v5 :xnu-1504.9.17/BUILD/obj/RELEASE_I386 > i386 > > > On Thu, Feb 24, 2011 at 6:39 PM, David Fang <fa...@cs...> wrote: > >> 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 >> >> Hello, >>> I have been trying to install coot but fink would fail at the gmp >>> package. I then used a binary install which seemed to work, but coot >>> itself >>> still doesn't get past the splash screen. When I ran fink update the same >>> fail with the gmp (this time gmp5 instead of 4) came up. I'm fairly new >>> to >>> macs and definitely fink and not sure where to proceed as I could not find >>> anything online about this. >>> -akos >>> The install and error are below: >>> >>> Making check in cxx >>> make t-assign t-binary t-cast t-constr t-headers t-istream t-locale >>> t-misc >>> t-ops t-ostream t-prec t-rand t-ternary t-unary >>> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests -fexceptions >>> >>> -I/sw/include -m32 -O2 -pedantic -fomit-frame-pointer -mtune=i386 >>> -march=i386 -c -o t-assign.o t-assign.cc >>> /bin/sh ../../libtool --tag=CXX --mode=link g++ -m32 -O2 -pedantic >>> -fomit-frame-pointer -mtune=i386 -march=i386 -L/sw/lib -o t-assign >>> t-assign.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la ../../ >>> libgmp.la >>> 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.hx3xI1 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 ... 46186 files and directories currently installed.) >>> Removing fink-buildlock-gmp5-5.0.1-5 ... >>> Failed: phase compiling: gmp5-5.0.1-5 failed >>> >>> Before reporting any errors, please run "fink selfupdate" and >>> try again. If you continue to have issues, please check to see if the >>> FAQ on fink's website solves the problem. If not, ask on the fink-users >>> or fink-beginners mailing lists, with a carbon copy to the maintainer: >>> >>> David Fang <fa...@us...> >>> >>> Note that this is preferable to emailing the maintainer directly, since >>> most fink package maintainers do not have access to all possible >>> hardware and software configurations. >>> >>> >> David Fang >> http://www.csl.cornell.edu/~fang/ >> http://www.achronix.com/ >> >> > David Fang http://www.csl.cornell.edu/~fang/ http://www.achronix.com/ |