GCJ building

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I have performed precisely these steps,

and still get the error messages after 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

My build directory is named compiler.

The only thing I can think of is a possible issue with the java related source code.

I use the files

gcc-core-4.6.2.tar
gcc-java-4.6.2.tar

I paste the extracted java files and directories over the gcc files and directories.
It says that there is some replacing involved, so I let it replace them.


Aside from this, I'm not sure what else to do.  If there is no help for my situation here,
could someone give me a URL link for a successfully compiled mingw esque or otherwise,
from source code built, gcj for Windows to just download?


> Date: Tue, 13 Mar 2012 12:25:43 +0000
> Subject: Re: GCJ building
> From: dnpaterson@xxxxxxxxx
> To: stargate7thsymbol@xxxxxxxxxx
> CC: gcc-help@xxxxxxxxxxx; java@xxxxxxxxxxx
> 
> On 13 March 2012 03:17, Me Myself and I <stargate7thsymbol@xxxxxxxxxx> wrote:
> >
> > But the thing is that I havn't, my objdir exists one cd ..
> > step back, outside my gcc-4.6.2 directory, despite what this error message says.
> 
> OK, against my better judgement, I'll try one more time.
> 
> You're either copying messages from older posts, thinking the say the
> same as you see on your screen, or you're not typing the commands you
> should be (and think you are).
> 
> "Feel free to follow along with my simple step-by-step instructions. I
> make building FUN!!"
> "To begin draw an S, for snake. or GCC. Er, whatever."
> 
> Erm, sorry :-)
> 
> Anyway, try the following commands :-
> 
>     $ cd ~
> 
> You should now be in your home directory...
> 
>     $ mkdir alice
> 
>     $ cd alice
> 
>     $ pwd
>     /home/davidp/alice
> 
> OK - now unpack GCC into this directory.  DO NOT COPY from your old
> build attempts - unpack / unzip the original download.
> If you copy the old source tree you will probably get errors again, as
> it's probably corrupt.
> 
>     $ ls
>     gcc-4.6.2
> 
> Get the other bits you want to build
> 
>     $ cd gcc-4.6.2
>     $ ./contrib/download_prerequisites
> 
> Return to the previous directory
> 
>     $ cd ..
>     $ pwd
>     /home/davidp/alice
> 
> NOTE - if you are not in directory "alice" then the following steps
> will not work, and you will likely get the same errors as before
> 
> Now create a directory to build in
> 
>     $ mkdir bob
>     $ cd bob
>     $ pwd
>     /home/davidp/alice/bob
> 
>     $ ls
>     bob  gcc-4.6.2
> 
> NOTE - double check the directory you're now in.  It should NOT be
> anywhere under gcc-4.6.2.
> 
> Now we can build...
> 
>     $ ../gcc-4.6.2/configure
> 
> followed by
> 
>     $ make
> 
> Follow these steps, and if the build doesn't work (again) then copy
> the error messages from your console window, not from previous emails.
> 
> With these steps there should NOT be any occurence of "objdir"
> anywhere in the source or object trees.
> 
> Regards,
> 
> David P.
 		 	   		  



[Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

Add to Google