From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30004 invoked by alias); 11 Mar 2012 23:51:21 -0000 Received: (qmail 29986 invoked by uid 22791); 11 Mar 2012 23:51:18 -0000 X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_BJ,TW_GC X-Spam-Check-By: sourceware.org Received: from bay0-omc4-s8.bay0.hotmail.com (HELO bay0-omc4-s8.bay0.hotmail.com) (65.54.190.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 11 Mar 2012 23:51:03 +0000 Received: from BAY147-W59 ([65.54.190.199]) by bay0-omc4-s8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 11 Mar 2012 16:51:03 -0700 Message-ID: From: Me Myself and I To: , Subject: GCJ building Date: Sun, 11 Mar 2012 23:51:00 -0000 In-Reply-To: References: , 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/msg00029.txt.bz2 I'm right with you all the way up to step 7: #7)=20 cd objdir; ./../gcc-4.6.2/configure; [completes with no problem] #8) make; [gives me the same error messages] Any ideas about what's happening? > Date: Fri, 9 Mar 2012 14:04:54 +0000 > Subject: Re: GCJ gen-fib information. > From: dnpaterson@gmail.com > To: stargate7thsymbol@live.co.uk > CC: gcc-help@gcc.gnu.org >=20 > On 9 March 2012 02:38, Me Myself and I wro= te: > > > > I have gen-fib located inside > > > > .../objdir/gmp/ > > > > It only tells me that it wants > > > > Usage: gen-bases > > > > make install; > > > > [I am stuck on this gcj with gcc compilation, which at the make; stage,= stops with this message:] > > > > fib2_ui.c:76:29: error: 'FIB_TABLE_LIMIT' undeclared (first use in this= function) > > 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 >=20 > Those error messages don't match the commands you previously said you > used. In particular there should not be an "objdir" under gcc-4.6.2, > and the build should definitely not be happening in that directory > even if it does exist... >=20 > To try to get to the bottom of your problem I've tried to recreate it > using the following steps :- >=20 > 1. Starting in an EMPTY directory (Test), unzip gcc-4.6.2 - this give > me Test/gcc-4.6.2. >=20 > 2. cd gcc-4.6.2 >=20 > 3. ./contrib/download_prerequisites - works OK with no errors >=20 > 4. cd .. - now back in /Test directory >=20 > 5. mkdir objdir >=20 > 6. cd objdir - now in Test/objdir >=20 > 7. ../gcc-4.6.2/configure - works OK with no errors >=20 > 8. make - works OK with no errors!! :-) >=20 > At no point does an "objdir" directory appear anywhere under gcc-4.6.2 > (although if it did momentarily I may have missed it, as I ran this > while going over lecture notes and only checked every few minutes). > However fib_table.h and gen-fib.exe were created successfully in > Test/objdir/gmp. >=20 > I think, looking through your previous posts, you're either not > entering the commands you should be (or think you are), not running in > the correct directory, or copying error messages from previous posts > instead of the latest run on your machine. >=20 > Step 1 above - start in an EMPTY directory - is probably the most > important, as you may have corrupted your source tree by configuring > or buiding within it. Delete everything and start from scratch again. > It won't take long, and will save a huge amount of time in the long > run. >=20 > Please, take a step back, clean off everything you've done - it isn't > working, and may never work - and go through the process slowly and > carefully again. >=20 > Regards, >=20 > David P. >=20 > PS - you don't have to start a new thread for every additional > question. It makes the discussion difficult to follow... =20=09=09=20=09=20=20=20=09=09=20=20