This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Almost successfull compiling GCJ, however..


On 7 March 2012 23:50, Me Myself and I wrote:
>
> pwd;
> /home/User/gcc-4.6.2/
> ./contrib/download_prerequisites;
> cd ..;
> mkdir objdir;
> cd objdir;
> ./../gcc-4.6.2/configure;
> make;
>
> ------------------------------------------------------------------------------------------------------------
> 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
> ------------------------------------------------------------------------------------------------------------

This error message doesn't match the commands above, it shows different paths.

Assuming that's just because you're copying and pasting the wrong thing...

You need to do as Ian suggests here:
http://gcc.gnu.org/ml/gcc-help/2012-03/msg00061.html

Delete the header fib_table.h
Run make
See what command is run to recreate fib_table.h
Try running it manually
See why it generates an empty file


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]