Build error: xgcc: java/parse-scan.c: No such file or directory

Tim Prince tprince@myrealbox.com
Fri Jul 6 23:44:00 GMT 2007


Martin Berger wrote:
> Hi,
> I downloaded gcc 4.2.0 source and I got the following during the 
> compilation
>
> make[3]: Entering directory 
> `/home/macekt/Instalace/GCC/gcc-4.2.0/host-i686-pc-linux-gnu/gcc'
> /home/macekt/Instalace/GCC/gcc-4.2.0/missing bison -t  -o 
> java/parse-scan.c ../.././gcc/java/parse-scan.y
> 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/macekt/Instalace/GCC/gcc-4.2.0/host-i686-pc-linux-gnu/prev-gcc/xgcc 
> -B/home/macekt/Instalace/GCC/gcc-4.2.0/host-i686-pc-linux-gnu/prev-gcc/ 
> -B/usr/local/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
>
> I'm running openSuse 10.1 (2.6.16.13). I also tried installing bison, 
> but it didn't help.
 From what you have shown here, you didn't get a complete untarred 
version of the source, which should have included parse-scan.c with up 
to date time stamp, so that it doesn't trigger rebuild.  If bison 
"didn't help" it seems something else may be missing.



More information about the Gcc-help mailing list