This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Build error: xgcc: java/parse-scan.c: No such file or directory
- From: Tim Prince <tprince at myrealbox dot com>
- To: Martin Berger <maca dot berger at centrum dot cz>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 06 Jul 2007 16:44:00 -0700
- Subject: Re: Build error: xgcc: java/parse-scan.c: No such file or directory
- References: <468E8D66.1050908@centrum.cz>
- Reply-to: tprince at computer dot org
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.