From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19182 invoked by alias); 29 Feb 2012 11:35:35 -0000 Received: (qmail 19056 invoked by uid 22791); 29 Feb 2012 11:35:34 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BJ X-Spam-Check-By: sourceware.org Received: from mail-lpp01m010-f47.google.com (HELO mail-lpp01m010-f47.google.com) (209.85.215.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Feb 2012 11:35:21 +0000 Received: by lagw12 with SMTP id w12so3568027lag.20 for ; Wed, 29 Feb 2012 03:35:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.162.72 with SMTP id xy8mr12541031lab.32.1330515319917; Wed, 29 Feb 2012 03:35:19 -0800 (PST) Received: by 10.112.29.67 with HTTP; Wed, 29 Feb 2012 03:35:19 -0800 (PST) In-Reply-To: References: Date: Wed, 29 Feb 2012 11:35:00 -0000 Message-ID: Subject: Re: Final errors in GCJ build, and I have success. From: Jonathan Wakely To: Me Myself and I Cc: gcc-help@gcc.gnu.org, java@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 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-02/txt/msg00049.txt.bz2 On 29 February 2012 11:12, Me Myself and I wrote: > > > I type > > make install; > > and the process seems to finish all my files, but ends with this: > > 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 > > > It leaves the following log-ish files behind: > > config.log > config.status > stage_current > stage_final > stage_last > > Does this mean that my build is entirely finished and ready? No, it exited with an error. Is /home/User/gcc-4.6.2 where you have the gcc sources? If so, then your objdir is inside the source dir. The docs clearly say not to do that: http://gcc.gnu.org/wiki/InstallingGCC "you need to run configure from outside the source directory" http://gcc.gnu.org/install/configure.html "building where objdir is a subdirectory of srcdir is unsupported" I suggest you delete the entire gcc-4.6.2 directory, as you've now fudged it by building in it, unpack the sources again, then read the damn docs, then read them again, then create a new objdir ***outside*** the source directory (not inside it, outside, got it?) and run configure and make again.