Re: Another GCC problem

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

 



Nik-R wrote:

> i am a beginner linux user using Ubuntu.

If you are a beginner then you should almost certainly be using the gcc
packages that your distro provides.  It is much easier and more reliable
than doing it yourself.

> WARNING: `bison' missing on your system.  You should only need it if
>          you modified a `.y' file.  You may need the `Bison' package
>          in order for those modifications to take effect.  You can get
>          `Bison' from any GNU archive site.
> /home/nik/gcc/host-i686-pc-linux-gnu/prev-gcc/xgcc
> -B/home/nik/gcc/host-i686-pc-linux-gnu/prev-gcc/
> -B/opt//i686-pc-linux-gnu/bin/ -c   -O2 -g -fomit-frame-pointer -DIN_GCC
> -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
> -Wold-style-definition -Wmissing-format-attribute  -Wno-error
> -DHAVE_CONFIG_H -I. -Ijava -I../.././gcc -I../.././gcc/java
> -I../.././gcc/../include -I../.././gcc/../libcpp/include
> -I../.././gcc/../libdecnumber -I../libdecnumber    java/parse-scan.c -o
> java/parse-scan.o
> xgcc: java/parse-scan.c: No such file or directory
> xgcc: no input files
> make[3]: *** [java/parse-scan.o] Error 1
> make[3]: Leaving directory `/home/nik/gcc/host-i686-pc-linux-gnu/gcc'
> make[2]: *** [all-stage2-gcc] Error 2
> make[2]: Leaving directory `/home/nik/gcc'
> make[1]: *** [stage2-bubble] Error 2
> make[1]: Leaving directory `/home/nik/gcc'
> make: *** [bootstrap] Error 2
> 
> I unfortunatly do not understand what it is doing and how to fix the probme
> that it is having. any advice and solutions would be very much appreciated.

You need to either install bison or ensure that the file timestamps are
being preserved, assuming that you're building from a release tarball
and not from a SVN checkout.  If you aren't building from a release
tarball then you'll probably require bison (and other tools) regardless;
see the install.html instructions.

Brian

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

  Powered by Linux