Final errors in GCJ build, and I have success.
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Feb 29 11:35:00 GMT 2012
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.
More information about the Gcc-help
mailing list