From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2533 invoked by alias); 7 Mar 2012 11:07:25 -0000 Received: (qmail 2511 invoked by uid 22791); 7 Mar 2012 11:07:24 -0000 X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_BJ X-Spam-Check-By: sourceware.org Received: from bay0-omc4-s21.bay0.hotmail.com (HELO bay0-omc4-s21.bay0.hotmail.com) (65.54.190.223) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Mar 2012 11:07:10 +0000 Received: from BAY147-W52 ([65.54.190.199]) by bay0-omc4-s21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 7 Mar 2012 03:06:32 -0800 Message-ID: From: Me Myself and I To: , Subject: RE: Almost successfull compiling GCJ, however.. Date: Wed, 07 Mar 2012 11:07:00 -0000 In-Reply-To: References: ,<4F540948.9090604@bothner.com>,,<4F54869B.20409@redhat.com>,,,, Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2012-03/txt/msg00016.txt.bz2 The directory that I refer to as the build directory is my objdir/ subdirectory, outside the source code directory. I successfully run configure within the objdir/ directory. However make; does not complete (inside the objdir directory) because of the error I keep on getting, ---------------------------------------------------------------------------= -------------------------------------------- fib2_ui.c:76:29: error: 'FIB_TABLE_LIMIT' undeclared (first use in this fun= ction) fib2_ui.c:76:29: note: each undeclared identifier is reported only once for= each function it appears in make[5] *** [fib2_ui.lo] Error 1 make[5] Leaving directory '/home/User/gcc-4.6.2/objdir/gmp/mpn' make[4] ***all-recursive] Error 1 make[4] Leaving directory '/home/User/gcc-4.6.2/objdir/gmp' make[3] *** [all] Error 2 make[3] Leaving directory '/home/User/gcc-4.6.2/objdir/gmp' make[2] *** [all-stage1-gmp] Error 2 make[2] Leaving directory '/home/User/gcc-4.6.2/objdir' make[1] *** [stage1-bubble] Error 2 make[1] Leaving directory '/home/User/gcc-4.6.2/objdir' make: *** [all] Error 2 ---------------------------------------------------------------------------= -------------------------------------------- there is indeed an instance inside my objdir/ directory, .../objdir/gmp/gen-fib.exe (compiling on a windows/unix esque platform) however I still always get the errors stipulated inside my included dashed = lines. Inspiration, anyone? > Date: Wed, 7 Mar 2012 09:23:37 +0000 > Subject: Re: Almost successfull compiling GCJ, however.. > From: jwakely.gcc@gmail.com > To: stargate7thsymbol@live.co.uk > CC: gcc-help@gcc.gnu.org; java@gcc.gnu.org >=20 > On 7 March 2012 02:41, Me Myself and I wrote: > > > > I am configuring in an empty directory.=A0 What I mean to say > > > > is that gen-fib is in the source directory, having gone download_prereq= uisites > > > > inside the source directory. >=20 > gen-fib is created IN THE BUILD DIRECTORY, it should not be in the > source directory. >=20 > So you have been building in the source directory. Delete it all and > start again with clean directories. >=20 > > So is there any further idea why obj/gmp/fib_table.h is blank, >=20 > Possibly because your source directory has been fouled up by building > in it, then building elsewhere, and who knows what else. >=20 > Delete it all and start again. Delete the source directories, delete > the build directory, unpack the GCC tarball again into an empty > directory, then run ./contrib/download_prerequisites again, then > create a new empty build directory, then configure. >=20 > > and my make doesn't seem to want to finish? >=20 > Because fib_table.h is empty. It can't finish without it, surely that > much is obvious. >=20 > > [and by the way, do I still have to use --with-gmp=3D, --with-mpfr=3D, = with-mpc=3D=3D > > =A0if download_prerequisites have put them all in sub directories inside > > the source code directory anyway?] >=20 > No! I've already told you that. =20=09=09=20=09=20=20=20=09=09=20=20