gcc -c -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I. -I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config -I../../gcc-2.95.2/gcc/../include \ -DGCC_INCLUDE_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include\" \ -DGPLUSPLUS_INCLUDE_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../..`echo /usr | sed -e 's|^/usr||' -e 's|/[^/]*|/..|g'`/include/g++-3\" \ -DCROSS_INCLUDE_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../i686-pc-linux-gnu/sys-include\" \ -DTOOL_INCLUDE_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../i686-pc-linux-gnu/include\" \ -DLOCAL_INCLUDE_DIR=\"/usr/include\" \ -DSTD_PROTO_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2\" \ ../../gcc-2.95.2/gcc/protoize.c In file included from /usr/include/stdio.h:57, from ../../gcc-2.95.2/gcc/system.h:32, from ../../gcc-2.95.2/gcc/protoize.c:60: /usr/include/libio.h:363: conflicting types for `__restrict' /usr/include/libio.h:363: previous declaration of `__restrict' /usr/include/libio.h:364: conflicting types for `__restrict' /usr/include/libio.h:363: previous declaration of `__restrict' /usr/include/libio.h:365: conflicting types for `__restrict' /usr/include/libio.h:365: previous declaration of `__restrict' In file included from ../../gcc-2.95.2/gcc/system.h:32, from ../../gcc-2.95.2/gcc/protoize.c:60: /usr/include/stdio.h:182: parse error before `__filename' /usr/include/stdio.h:185: parse error before `__filename' /usr/include/stdio.h:232: parse error before `__stream' /usr/include/stdio.h:236: parse error before `__stream' /usr/include/stdio.h:251: parse error before `__stream' /usr/include/stdio.h:254: parse error before `__format' /usr/include/stdio.h:256: parse error before `__s' /usr/include/stdio.h:260: parse error before `__s' /usr/include/stdio.h:264: parse error before `__format' /usr/include/stdio.h:267: parse error before `__s' /usr/include/stdio.h:310: parse error before `__stream' /usr/include/stdio.h:313: parse error before `__format' /usr/include/stdio.h:315: parse error before `__s' /usr/include/stdio.h:393: parse error before `__s' /usr/include/stdio.h:428: parse error before `__s' /usr/include/stdio.h:446: parse error before `__ptr' /usr/include/stdio.h:449: parse error before `__ptr' /usr/include/stdio.h:499: parse error before `__stream' In file included from /usr/include/stdio.h:635, from ../../gcc-2.95.2/gcc/system.h:32, from ../../gcc-2.95.2/gcc/protoize.c:60: /usr/include/bits/stdio.h:33: parse error before `__fmt' /usr/include/bits/stdio.h: In function `vprintf': /usr/include/bits/stdio.h:35: `__fmt' undeclared (first use in this function) /usr/include/bits/stdio.h:35: (Each undeclared identifier is reported only once /usr/include/bits/stdio.h:35: for each function it appears in.) /usr/include/bits/stdio.h:35: `__arg' undeclared (first use in this function) /usr/include/string.h: At top level: In file included from ../../gcc-2.95.2/gcc/system.h:132, from ../../gcc-2.95.2/gcc/protoize.c:60: /usr/include/string.h:37: parse error before `__dest' /usr/include/string.h:71: parse error before `__dest' /usr/include/string.h:74: parse error before `__dest' /usr/include/string.h:78: parse error before `__dest' /usr/include/string.h:81: parse error before `__dest' /usr/include/string.h:92: parse error before `__dest' /usr/include/string.h:176: parse error before `__s' /usr/include/string.h:181: parse error before `__s' /usr/include/string.h:185: parse error before `__s' In file included from ../../gcc-2.95.2/gcc/system.h:145, from ../../gcc-2.95.2/gcc/protoize.c:60: /usr/include/stdlib.h:96: parse error before `__nptr' /usr/include/stdlib.h:109: parse error before `__nptr' /usr/include/stdlib.h:112: parse error before `__nptr' /usr/include/stdlib.h:196: parse error before `__nptr' /usr/include/stdlib.h:199: parse error before `__nptr' /usr/include/stdlib.h:202: parse error before `__nptr' /usr/include/stdlib.h:206: parse error before `__nptr' /usr/include/stdlib.h:213: parse error before `__nptr' /usr/include/stdlib.h:221: parse error before `__nptr' /usr/include/stdlib.h:229: parse error before `__nptr' /usr/include/stdlib.h:243: parse error before `__nptr' /usr/include/stdlib.h: In function `strtod': /usr/include/stdlib.h:245: `__nptr' undeclared (first use in this function) /usr/include/stdlib.h:245: `__endptr' undeclared (first use in this function) /usr/include/stdlib.h: At top level: /usr/include/stdlib.h:248: parse error before `__nptr' /usr/include/stdlib.h: In function `strtol': /usr/include/stdlib.h:251: `__nptr' undeclared (first use in this function) /usr/include/stdlib.h:251: `__endptr' undeclared (first use in this function) /usr/include/stdlib.h:251: `__base' undeclared (first use in this function) /usr/include/stdlib.h: At top level: /usr/include/stdlib.h:254: parse error before `__nptr' /usr/include/stdlib.h: In function `strtoul': /usr/include/stdlib.h:257: `__nptr' undeclared (first use in this function) /usr/include/stdlib.h:257: `__endptr' undeclared (first use in this function) /usr/include/stdlib.h:257: `__base' undeclared (first use in this function) /usr/include/stdlib.h: At top level: /usr/include/stdlib.h:698: parse error before `__pwc' /usr/include/stdlib.h:706: parse error before `__pwcs' /usr/include/stdlib.h:709: parse error before `__s' In file included from /usr/include/sys/time.h:24, from ../../gcc-2.95.2/gcc/system.h:189, from ../../gcc-2.95.2/gcc/protoize.c:60: /usr/include/time.h:135: parse error before `__s' /usr/include/time.h:158: parse error before `__timer' /usr/include/time.h:160: parse error before `__timer' /usr/include/time.h:165: parse error before `__timer' /usr/include/time.h:181: parse error before `__tp' /usr/include/time.h:185: parse error before `__timer' In file included from ../../gcc-2.95.2/gcc/protoize.c:66: /usr/include/dirent.h:161: parse error before `__dirp' make[1]: *** [protoize.o] Error 1 make[1]: Leaving directory `/root/src/gcc-build/gcc' make: *** [all-gcc] Error 2