public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jim Wilson <wilson@tuliptree.org>
To: Swapna Pawar <Swapna.Pawar@kpitcummins.com>
Cc: mtrudel@gmx.ch, gcc@gcc.gnu.org,
	  Prafulla Thakare <Prafulla.Thakare@kpitcummins.com>
Subject: Re: gcc4.3 configuring problems with mpfr
Date: Wed, 02 Apr 2008 06:19:00 -0000	[thread overview]
Message-ID: <47F32569.6030903@tuliptree.org> (raw)
In-Reply-To: <78DE440C4156CC45A35FDBCBF9B830D702601263@sohm.kpit.com>

Swapna Pawar wrote:
> configure:4542: checking for correct version of mpfr.h
> configure:4573: i386-pc-mingw32msvc-gcc -o conftest.exe -O2
> -I/home/manjunathm1/gmp/prefix/include
> -I/home/manjunathm1/mpfr/prefix/include   conftest.c  -L/h
> ome/manjunathm1/gmp/prefix/lib -L/home/manjunathm1/mpfr/prefix/lib
> -lmpfr -lgmp >&5
> /tmp/cc9dzbXZ.o(.text+0x23):conftest.c: undefined reference to
> `mpfr_init'

Are the -I and -L options correct?

Run the command by hand with --save-temps and look at the .i file and 
verify that the right header files got included.

Run the command by hand with -Wl,--verbose and verify that the right 
libraries got linked in.

Look at the installed libraries and make sure that they contain the 
functions in question, i.e. make sure that they were built and installed 
correctly.

Maybe try installing gmp and mpfr in the same place instead of in two 
different places?

Jim

  reply	other threads:[~2008-04-02  6:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01 13:19 Swapna Pawar
2008-04-02  6:19 ` Jim Wilson [this message]
2008-06-22  7:11 pradeep sanchana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F32569.6030903@tuliptree.org \
    --to=wilson@tuliptree.org \
    --cc=Prafulla.Thakare@kpitcummins.com \
    --cc=Swapna.Pawar@kpitcummins.com \
    --cc=gcc@gcc.gnu.org \
    --cc=mtrudel@gmx.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).