Alexander I've tried the suggested modification but with no success. The snippet below shows that it was changed I think # force i386 to bump to i686 to avoid symbol dep on __sync_fetch_and_add_4 hb=`../config.guess` ../config.guess case $hb in i386-*-*) hb=`echo $hb | sed 's|i386|i686|'` host_build_override="--host=$hb --build=$hb" ;; esac echo $hb | sed 's|i386|i686|' if [ "." == "." ] ; then case "i386" in i386 | powerpc) ABI=32 ;; x86_64) ABI=64 ;; esac else case "i386" in i386) ABI=64 ;; powerpc) ABI=mode64 ;; esac fi
but I still get 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.2.1WWGRY failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gmp5-5.0.2-1 (Reading database ... 305596 files and directories currently installed.) Removing fink-buildlock-gmp5-5.0.2-1 ... Failed: phase compiling: gmp5-5.0.2-1 failed Again thanks for helping Don ------------------------------------------------------------------ Professor Don Paul Superconductivity & Magnetism Group Department of Physics University of Warwick Coventry CV4 7AL United Kingdom email ph...@warwick.ac.uk tel 024 76 523603 ------------------------------------------------------------------ On 24 May 2011, at 14:08, Alexander Hansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 5/23/11 4:30 AM, Don Paul wrote: >> I'm trying to install kile but seem to be prevented by a gmp problem. >> >> 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../../../tests/cxx -I../.. -I../../.. >> -I../../../tests -fexceptions -I/sw/include -m32 -O2 -pedantic >> -fomit-frame-pointer -mtune=i386 -march=i386 -c -o t-assign.o >> ../../../tests/cxx/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.2-1/gmp-5.0.2/build/.libs -L/sw/lib >> ../../tests/.libs/libtests.a ../../.libs/libgmpxx.dylib >> /sw/src/fink.build/gmp5-5.0.2-1/gmp-5.0.2/build/.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.2.tswA7W failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-gmp5-5.0.2-1 >> (Reading database ... 319902 files and directories currently installed.) >> Removing fink-buildlock-gmp5-5.0.2-1 ... >> Failed: phase compiling: gmp5-5.0.2-1 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 <fang...@users.sourceforge.net> >> >> 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. >> >> >> >> >> vpn-40-228:~ donpaul$ fink -V >> Package manager version: 0.30.0 >> Distribution version: selfupdate-rsync Sun May 22 22:04:51 2011, 10.6, i386 >> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto >> >> Copyright (c) 2001 Christoph Pfisterer >> Copyright (c) 2001-2011 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. >> >> ------------------------------------------------------------------ >> Professor Don Paul >> Superconductivity & Magnetism Group >> Department of Physics >> University of Warwick >> Coventry CV4 7AL >> United Kingdom >> >> email ph...@warwick.ac.uk >> tel 024 76 523603 >> ------------------------------------------------------------------ >> >> >> >> >> > > I found a prior post regarding gmp which gave me a possible hint to > what's going on here. > > http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg34031.html > > There's a snippet in the compile script output that says: > > # force i386 to bump to i686 to avoid symbol dep on __sync_fetch_and_add_4 > hb=`../config.guess` > ../config.guess > case $hb in > i386-*-*) hb=`echo $hb | sed 's|i386|i686|'` > host_build_override="--host=$hb --build=$hb" ;; > esac > > That appears to have been commented out in the gmp5 CompileScript. > > If you're so inclined, you can edit > /sw/fink/10.4/unstable/main/finkinfo/libs/gmp5.info as a super-user and > remove the comment marks (#) at this point in the CompileScript: > > # force i386 to bump to i686 to avoid symbol dep on __sync_fetch_and_add_4 > # hb=`../config.guess` > # case $hb in > # i386-*-*) hb=`echo $hb | sed 's|i386|i686|'` > # host_build_override="--host=$hb --build=$hb" ;; > # esac > > Then please report back whether this works for you or not. > - -- > Alexander Hansen, Ph.D. > Fink User Liaison > http://finkakh.wordpress.com/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk3brbgACgkQB8UpO3rKjQ/rYACfXP14wzsDcdUsJbFBQr79hARB > gBsAn3OTZW8RZvPcYaa6s5lHiKzs7De0 > =imWT > -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users