From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6929 invoked by alias); 1 Apr 2008 13:19:46 -0000 Received: (qmail 6917 invoked by uid 22791); 1 Apr 2008 13:19:44 -0000 X-Spam-Check-By: sourceware.org Received: from sohm.kpitcummins.com (HELO sohm.kpit.com) (203.197.93.231) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Apr 2008 13:19:27 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: gcc4.3 configuring problems with mpfr Date: Tue, 01 Apr 2008 13:19:00 -0000 Message-ID: <78DE440C4156CC45A35FDBCBF9B830D702601263@sohm.kpit.com> From: "Swapna Pawar" To: Cc: , "Prafulla Thakare" , "Swapna Pawar" Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00008.txt.bz2 Hi, I am facing the same problem as mentioned by you. Is there any solution or workaround? Please guide. I have successfully built the mingw native compiler with the following sources, mingw-runtime-3.12 w32api-3.9 binutils-2.17.50-20060824-1-src gcc-3.4.5-20060117-1 I want to build the mingw cross compiler for m32c-elf. The sources used for this cross compiler are as follows: gcc-4.3.0 binutils-2.18 newlib-1.15.0 GCC-4.3.0 requires pre-built GMP and MPFR libraries. I get the following error while configuring the mingw cross compiler for m32c-elf, configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+. I have used GMP 4.2.2 and MPFR 2.3.0 sources. I have specified the paths of GMP and MPFR install directories as=20 "--with-gmp=3D" and "--with-mpfr=3D". I tried exporting LD_LIBRARY_PATH also, but I still get error during configure.=20 The error is as follows, 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' /tmp/cc9dzbXZ.o(.text+0x2b):conftest.c: undefined reference to `mpfr_init' /tmp/cc9dzbXZ.o(.text+0x35):conftest.c: undefined reference to `mpfr_atan2' /tmp/cc9dzbXZ.o(.text+0x41):conftest.c: undefined reference to `mpfr_erfc' /tmp/cc9dzbXZ.o(.text+0x4d):conftest.c: undefined reference to `mpfr_subnormalize' Any help on this will be greatly appreciated.=20 Thanks in advance. Regards, Swapna Pawar KPIT Cummins Infosystems Ltd, Pune (INDIA)=20