Almost successfull compiling GCJ, however..

Me Myself and I
Wed Mar 7 11:07:00 GMT 2012

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,


(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:
> To:
> CC:;
> 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.

More information about the Java mailing list