On 9/21/14, 2:21 PM, Gordon E. Sarty wrote: > >> Hmm...in my /sw/include/mpfr.h I have a note which says: >> >> /* GMP's internal __gmp_const macro has been removed on 2012-03-04: >> http://gmplib.org:8000/gmp/rev/d287cfaf6732 >> const is standard and now assumed to be available. If the __gmp_const >> definition is no longer present in GMP, this probably means that GMP >> assumes that const is available; thus let's define it to const. >> Note: this is a temporary fix that can be backported to previous MPFR >> versions. In the future, __gmp_const should be replaced by const like >> in GMP. */ >> #ifndef __gmp_const >> # define __gmp_const const >> #endif >> >> Is that present in yours? > > I don't think so. > Here's the header file: > > /* mpfr.h -- Include file for mpfr. > > Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, > 2009, 2010, 2011 Free Software Foundation, Inc. > Contributed by the Arenaire and Caramel projects, INRIA. > > This file is part of the GNU MPFR Library. > > The GNU MPFR Library is free software; you can redistribute it and/or > modify > it under the terms of the GNU Lesser General Public License as published by > the Free Software Foundation; either version 3 of the License, or (at your > option) any later version. > > The GNU MPFR Library 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 Lesser General Public > License for more details. > > You should have received a copy of the GNU Lesser General Public License > along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see > http://www.gnu.org/licenses/ or write to the Free Software Foundation, > Inc., > 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ > > #ifndef __MPFR_H > #define __MPFR_H > > /* Define MPFR version number */ > #define MPFR_VERSION_MAJOR 3 > #define MPFR_VERSION_MINOR 1 > #define MPFR_VERSION_PATCHLEVEL 0 > #define MPFR_VERSION_STRING "3.1.0" >
<snip> Aha. My /sw/include/mpfr.h is different. Mine shows "3.1.2", and that's the current version in Fink. What does "fink list -t libmpfr4" show? If you show i libmpfr4 3.1.2-1 C floating-point math lib i libmpfr4-shlibs 3.1.2-1 Shared libraries for mpfr package then try "fink rebuild libmpfr4" to ensure that your libmpfr4 is internally consistent. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ 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