I got this weird error when compiling the 2.0.4 kernel...
I have GCC 2.7.2, libc 5.2.18 and ld.so 1.7.14...
gcc -I/usr/src/linux/include -D__BFD__ -o tools/build tools/build.c
-I/usr/src/linux/include
In file included from tools/build.c:28:
/usr/include/sys/stat.h:92: unterminated macro call
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: warning: preprocessing directive not recognized within macro arg
/usr/include/sys/stat.h:135: unterminated macro call
/usr/include/sys/stat.h:135: unterminated comment
/usr/include/sys/stat.h:138: unterminated comment
/usr/include/sys/stat.h:139: macro `__P' used with too many (49) args
/usr/include/sys/stat.h:140: unterminated comment
/usr/include/sys/stat.h:141: macro `__P' used with too many (49) args
/usr/include/sys/stat.h:143: unterminated comment
/usr/include/sys/stat.h:143: unterminated string or character constant
/usr/include/sys/stat.h:0: possible real start of unterminated constant
/usr/include/sys/stat.h:148: unterminated comment
/usr/include/sys/stat.h:149: empty #if expression
gcc: Internal compiler error: program cpp got fatal signal 6
make[1]: *** [tools/build] Error 1
make[1]: Leaving directory `/usr/src/linux-2.0.4/arch/i386/boot'
make: *** [zImage] Error 2
...please advice :)
(please, send a cc: to me, my ISP's news-server is a bit weird sometimes..)
---
Tomas Lund