gt-c-pragma.h:46: parse error before `__attribute__'

Mehmet.Ekici@alcatel.com.tr Mehmet.Ekici@alcatel.com.tr
Wed Apr 26 12:26:00 GMT 2006


Hi All,
I am getting an error while compiling gcc -4.0.3

bt0puk:/home/mekici/gcc> uname -a


SunOS bt0puk 5.8 Generic_117350-08 sun4u sparc
bt0puk:/home/mekici/gcc> ./gcc-4.0.3/configure --prefix=/home/mekici/gcc
--target=mips --disable-threads --with-newlib --disable-shared
--enable-languages=c --with-stabs --nfp --with-gnu-as --with-gnu-l

gcc -c   -g -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes     -DHAVE_CONFIG_H -I. -I.
-I.././gcc-4.0.3/gcc -I.././gcc-4.0.3/gcc/. -I.././gcc-4.0.3/gcc/../include
-I./../intl -I.././gcc-4.0.3/gcc/../libcpp/include
.././gcc-4.0.3/gcc/c-pragma.c -o c-pragma.o
In file included from .././gcc-4.0.3/gcc/c-pragma.c:707:
gt-c-pragma.h:46: parse error before `__attribute__'
make[1]: *** [c-pragma.o] Error 1
make[1]: Leaving directory `/home/mekici/gcc/gcc'
make: *** [all-gcc] Error 2
bt0puk:/home/mekici/gcc> vi .././gcc-4.0.3/gcc/c-pragma.c
".././gcc-4.0.3/gcc/c-pragma.c" [New file]





More information about the Gcc-help mailing list