Re: Almost successfull compiling GCJ, however..

Ian Lance Taylor <[email protected]>
Newsgroups gmane.comp.gcc.help,gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Me Myself and I <[email protected]> writes:

> When I remove fib_table.h,
>
> and attempt to make; again inside objdir/
>
> I get exactly the same error message as before, just earlier on:


Show us the exact make output that includes that command that is run to
create fib_table.h.

Ian



> ---------------------------------------------------------------------------------------------------------------------
> 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
> ---------------------------------------------------------------------------------------------------------------------
>
>> From: [email protected]
>> To: [email protected]
>> CC: [email protected]; [email protected]
>> Subject: Re: Almost successfull compiling GCJ, however..
>> Date: Wed, 7 Mar 2012 22:47:00 -0800
>> 
>> Me Myself and I <[email protected]> writes:
>> 
>> > ./contrib/download_prerequisites;
>> > , run inside gcc-4.6.2/, puts gmp/, mpc/, mpfr/ directories correctly linked
>> > to those required libraries.
>> >
>> > The error message that I'm getting is related presumably to these subdirectories.
>> >
>> > I have also deleted fib_table.h and done make; again.
>> >
>> > I do notice that the gmsfmt.exe command is missing, and I can't seem to find
>> > an exe copy of this, for windows, over the internet.
>> >
>> > Ian seems to say that gen-fib.exe isn't outputing the information it needs to.
>> >
>> > Apart from an aparent possibile problem with gmsfmt.exe, which my make can't find,
>> >
>> > I can't see any other problem, and still get the same error message block that I've been
>> >
>> > talking about.
>> >
>> > Can someone help further, or give me a URL for gmsfmt.exe?
>> 
>> 
>> I don't know what gmsfmt.exe is.  I also don't know why you are talking
>> about.
>> 
>> When you remove fib_table.h and run make again, what is the exact
>> output?
>> 
>> If you run the gen-fib.exe program, what happens?
>> 
>> Ian
>> 
>> 
>> 
>> >
>> >
>> >> Date: Thu, 8 Mar 2012 00:04:01 +0000
>> >> Subject: Re: Almost successfull compiling GCJ, however..
>> >> From: [email protected]
>> >> To: [email protected]
>> >> CC: [email protected]; [email protected]
>> >> 
>> >> 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
>> >  		 	   		  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.