On Thu, Aug 16, 2012 at 11:31 AM, Ron Stubbs <rons@xxxxxxxx> wrote: > > I get this error: > > fortran/arith.o: In function `gfc_mpfr_to_mpz(__mpz_struct*, > __mpfr_struct*, locus*)': > arith.c:(.text+0x1169): undefined reference to `mpfr_get_z_2exp' > > The system is running Scientific Linux 6.2 with the standard libmpfr > package, mpfr-2.4.1-6.el6.x86_64, installed. > > Thereis no mpfr_get_z_2exp in /usr/lib64/libmpfr.so.1.2.0, although > there is mpfr_get_z_exp in it. > > Is the prerequiste mpfr-2.4+ correct? Or do I need a later version the > the mpfr library? GCC 4.8 requires MPFR 2.4.2 or later. This is documented at http://gcc.gnu.org/install/prerequisites.html . Ian