From: Me Myself and I <stargate7thsymbol@live.co.uk>
To: <gcc-help@gcc.gnu.org>, <java@gcc.gnu.org>
Subject: RE: Almost successfull compiling GCJ, however..
Date: Wed, 07 Mar 2012 11:07:00 -0000 [thread overview]
Message-ID: <BAY147-W5296CBB1CAEFB13959F208D0560@phx.gbl> (raw)
In-Reply-To: <CAH6eHdQetcTjWdyCAACzcb=qmJGZy9SExJyEezSqSnqpCTEzVg@mail.gmail.com>
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 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
-----------------------------------------------------------------------------------------------------------------------
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
>
> On 7 March 2012 02:41, Me Myself and I wrote:
> >
> > I am configuring in an empty directory. What I mean to say
> >
> > is that gen-fib is in the source directory, having gone download_prerequisites
> >
> > inside the source directory.
>
> gen-fib is created IN THE BUILD DIRECTORY, it should not be in the
> source directory.
>
> So you have been building in the source directory. Delete it all and
> start again with clean directories.
>
> > So is there any further idea why obj/gmp/fib_table.h is blank,
>
> Possibly because your source directory has been fouled up by building
> in it, then building elsewhere, and who knows what else.
>
> 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.
>
> > and my make doesn't seem to want to finish?
>
> Because fib_table.h is empty. It can't finish without it, surely that
> much is obvious.
>
> > [and by the way, do I still have to use --with-gmp=, --with-mpfr=, with-mpc==
> > if download_prerequisites have put them all in sub directories inside
> > the source code directory anyway?]
>
> No! I've already told you that.
next prev parent reply other threads:[~2012-03-07 11:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-05 0:28 Me Myself and I
2012-03-05 0:34 ` Per Bothner
2012-03-05 5:11 ` Me Myself and I
[not found] ` <4F54869B.20409@redhat.com>
2012-03-05 23:39 ` Me Myself and I
2012-03-06 14:58 ` Ian Lance Taylor
2012-03-07 0:28 ` Me Myself and I
2012-03-07 1:20 ` Jonathan Wakely
2012-03-07 1:56 ` Jonathan Wakely
2012-03-07 2:42 ` Me Myself and I
2012-03-07 9:23 ` Jonathan Wakely
2012-03-07 11:07 ` Me Myself and I [this message]
2012-03-07 18:49 ` Jonathan Wakely
2012-03-07 23:51 ` Me Myself and I
2012-03-08 0:04 ` Jonathan Wakely
2012-03-08 1:27 ` Me Myself and I
2012-03-08 6:47 ` Ian Lance Taylor
2012-03-08 8:18 ` Me Myself and I
2012-03-08 10:01 ` Andrew Haley
[not found] ` <CAM1kHc0_-ASxEmHs2rW8HYv7foo70kF4Ztr-J+Q3coD6THLsKA@mail.gmail.com>
2012-03-09 2:32 ` Me Myself and I
2012-03-09 16:19 ` Ian Lance Taylor
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-W5296CBB1CAEFB13959F208D0560@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).