From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Me Myself and I <stargate7thsymbol@live.co.uk>
Cc: gcc-help@gcc.gnu.org, java@gcc.gnu.org
Subject: Re: Final errors in GCJ build, and I have success.
Date: Wed, 29 Feb 2012 11:35:00 -0000 [thread overview]
Message-ID: <CAH6eHdRHP=m1CbyvmdXZ3utTLK_bsGp9yJPFHAz9aqMT22ezGg@mail.gmail.com> (raw)
In-Reply-To: <BAY147-W58245865662ED064A81DD1D06F0@phx.gbl>
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.
prev parent reply other threads:[~2012-02-29 11:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-29 11:12 Me Myself and I
2012-02-29 11:35 ` Jonathan Wakely [this message]
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='CAH6eHdRHP=m1CbyvmdXZ3utTLK_bsGp9yJPFHAz9aqMT22ezGg@mail.gmail.com' \
--to=jwakely.gcc@gmail.com \
--cc=gcc-help@gcc.gnu.org \
--cc=java@gcc.gnu.org \
--cc=stargate7thsymbol@live.co.uk \
/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).