From: Me Myself and I <stargate7thsymbol@live.co.uk>
To: <gcc-help@gcc.gnu.org>, <java@gcc.gnu.org>
Subject: GCJ building
Date: Sun, 11 Mar 2012 23:51:00 -0000 [thread overview]
Message-ID: <BAY147-W5960687D08972BEC2641D2D05A0@phx.gbl> (raw)
In-Reply-To: <CAM1kHc1PkRUCkgFOpgcNhAXau36uC5E1q9cvHA4ZC5JuV-wFWg@mail.gmail.com>
I'm right with you all the way up to step 7:
#7)
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
>
> On 9 March 2012 02:38, Me Myself and I <stargate7thsymbol@live.co.uk> wrote:
> >
> > I have gen-fib located inside
> >
> > .../objdir/gmp/
> >
> > It only tells me that it wants
> >
> > Usage: gen-bases <header|table> <limbbits> <nailbits>
> >
> > 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
>
> 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...
>
> To try to get to the bottom of your problem I've tried to recreate it
> using the following steps :-
>
> 1. Starting in an EMPTY directory (Test), unzip gcc-4.6.2 - this give
> me Test/gcc-4.6.2.
>
> 2. cd gcc-4.6.2
>
> 3. ./contrib/download_prerequisites - works OK with no errors
>
> 4. cd .. - now back in /Test directory
>
> 5. mkdir objdir
>
> 6. cd objdir - now in Test/objdir
>
> 7. ../gcc-4.6.2/configure - works OK with no errors
>
> 8. make - works OK with no errors!! :-)
>
> 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.
>
> 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.
>
> 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.
>
> 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.
>
> Regards,
>
> David P.
>
> PS - you don't have to start a new thread for every additional
> question. It makes the discussion difficult to follow...
next prev parent reply other threads:[~2012-03-11 23:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-09 2:38 GCJ gen-fib information Me Myself and I
[not found] ` <CAM1kHc1PkRUCkgFOpgcNhAXau36uC5E1q9cvHA4ZC5JuV-wFWg@mail.gmail.com>
2012-03-11 23:51 ` Me Myself and I [this message]
2012-03-12 10:41 ` GCJ building David Paterson
2012-03-12 21:30 ` Me Myself and I
[not found] ` <4F5E7971.4050408@digium.com>
2012-03-13 3:17 ` Me Myself and I
2012-03-13 12:26 ` David Paterson
2012-03-14 0:13 ` Me Myself and I
2012-03-14 1:44 ` Ian Lance Taylor
[not found] ` <CAH6eHdSbP4q8-y7q5=b2R3Szr0RHfxfP2rRWqYCTRV5FsiDxCA@mail.gmail.com>
2012-03-14 4:34 ` Me Myself and I
2012-03-14 9:14 ` David Paterson
2012-03-14 12:40 ` Chris Burdess
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=BAY147-W5960687D08972BEC2641D2D05A0@phx.gbl \
--to=stargate7thsymbol@live.co.uk \
--cc=gcc-help@gcc.gnu.org \
--cc=java@gcc.gnu.org \
/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).