public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Compiling gcc 4.8
@ 2012-08-16 19:45 Ron Stubbs
  2012-08-16 20:19 ` Ian Lance Taylor
  2012-08-17 10:23 ` Andrew Haley
  0 siblings, 2 replies; 3+ messages in thread
From: Ron Stubbs @ 2012-08-16 19:45 UTC (permalink / raw)
  To: gcc-help

Hi,

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?

Thanks,
Ron

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ron Stubbs MS CS
Senior Systems Programmer
Research Computing
Pratt School of Engineering
410 Teer Bldg. P.O. Box 90271
Duke University, Durham, N.C. 27708-0271
office: (919)660-5339   cell:(919)641-5689
fax: (919) 613-9156
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling gcc 4.8
  2012-08-16 19:45 Compiling gcc 4.8 Ron Stubbs
@ 2012-08-16 20:19 ` Ian Lance Taylor
  2012-08-17 10:23 ` Andrew Haley
  1 sibling, 0 replies; 3+ messages in thread
From: Ian Lance Taylor @ 2012-08-16 20:19 UTC (permalink / raw)
  To: ron.stubbs; +Cc: gcc-help

On Thu, Aug 16, 2012 at 11:31 AM, Ron Stubbs <rons@duke.edu> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling gcc 4.8
  2012-08-16 19:45 Compiling gcc 4.8 Ron Stubbs
  2012-08-16 20:19 ` Ian Lance Taylor
@ 2012-08-17 10:23 ` Andrew Haley
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Haley @ 2012-08-17 10:23 UTC (permalink / raw)
  To: ron.stubbs; +Cc: Ron Stubbs, gcc-help

On 08/16/2012 07:31 PM, Ron Stubbs wrote:
> 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?

Go into the top-level gcc srcdir and type:

 ./contrib/download_prerequisites

Andrew.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-17  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-16 19:45 Compiling gcc 4.8 Ron Stubbs
2012-08-16 20:19 ` Ian Lance Taylor
2012-08-17 10:23 ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).