This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: stage1 bootstrap failuer to build gcc.3.3: cppfiles.c:1168: error: parse error before ']' token etc.
- From: Christian Jönsson <christian at j-son dot org>
- To: 'Christian Jönsson' <christian at j-son dot org>,"'gcc'" <gcc at gcc dot gnu dot org>
- Date: Sun, 18 Aug 2002 16:54:17 +0200
- Subject: RE: stage1 bootstrap failuer to build gcc.3.3: cppfiles.c:1168: error: parse error before ']' token etc.
Hmm, there are no lines after 1168... Weird.
/ChJ
-----Original Message-----
From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf Of
Christian Jönsson
Sent: Sunday, August 18, 2002 4:42 PM
To: gcc
Subject: stage1 bootstrap failuer to build gcc.3.3: cppfiles.c:1168:
error: parse error before ']' token etc.
I'm trying to build gcc-3.3 (2002-08-18 cvs) but get this error
stage1/xgcc -Bstage1/ -B/usr/sparc-linux/bin/ -c -g -O2 -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I.
-I/opt/gcc+binutils/gcc/gcc -I/opt/gcc+binutils/gcc/gcc/.
-I/opt/gcc+binutils/gcc/gcc/config
-I/opt/gcc+binutils/gcc/gcc/../include
/opt/gcc+binutils/gcc/gcc/cppfiles.c -o cppfiles.o
stage1/xgcc -Bstage1/ -B/usr/sparc-linux/bin/ -c -g -O2 -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I.
-I/opt/gcc+binutils/gcc/gcc -I/opt/gcc+binutils/gcc/gcc/.
-I/opt/gcc+binutils/gcc/gcc/config
-I/opt/gcc+binutils/gcc/gcc/../include
/opt/gcc+binutils/gcc/gcc/cpptrad.c -o cpptrad.o
stage1/xgcc -Bstage1/ -B/usr/sparc-linux/bin/ -c -g -O2 -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I.
-I/opt/gcc+binutils/gcc/gcc -I/opt/gcc+binutils/gcc/gcc/.
-I/opt/gcc+binutils/gcc/gcc/config
-I/opt/gcc+binutils/gcc/gcc/../include
/opt/gcc+binutils/gcc/gcc/cpphash.c -o cpphash.o
/opt/gcc+binutils/gcc/gcc/cppfiles.c:1168: error: parse error before ']'
token
/opt/gcc+binutils/gcc/gcc/cppfiles.c:1380: error: syntax error at '#'
token
/opt/gcc+binutils/gcc/gcc/cppfiles.c:1385: error: syntax error at '#'
token
/opt/gcc+binutils/gcc/gcc/cppfiles.c:1385: error: syntax error at '#'
token
/opt/gcc+binutils/gcc/gcc/cppfiles.c:1388: error: syntax error at '#'
token
/opt/gcc+binutils/gcc/gcc/cppfiles.c:1388: error: syntax error at '#'
token
/opt/gcc+binutils/gcc/gcc/cppfiles.c:1451:21: warning: null character(s)
ignored
/opt/gcc+binutils/gcc/gcc/cppfiles.c:1451: confused by earlier errors,
bailing out
make[2]: *** [cppfiles.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/gcc+binutils/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/opt/gcc+binutils/objdir/gcc'
make: *** [bootstrap-lean] Error 2
Any idea of what might be going wrong for me?
This was on a Debian 3.0 (Woody) quad ROSS sun4m system with these
packages:
binutils 2.12.90.0.1-4
dejagnu 1.4.2-1.1
gcc 2:2.95.4-14 (Debian prerelease)
gcc-2.95 1:2.95.4-7 (Debian prerelease)
gnat 3.14p-3
self compiled 2.4.19-rc3 SMP kernel running during build and test
In-tree joined gcc and binutils cvs trunks.