I've just installed new cpp&gcc from unstable, and it seems doesn't work. E.g.
# cd /usr/src/linux/ # make menuconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/kernel-source-2.0.27/scripts/lxdialog' gcc -I /usr/include/linux -O2 -Wall -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c lxdialog.c -o lxdialog.o In file included from dialog.h:26, from lxdialog.c:22: /usr/include/ncurses/stdlib.h:333: parse error before `*' /usr/include/ncurses/stdlib.h:336: parse error before `wchar_t' /usr/include/ncurses/stdlib.h: In function `mblen': /usr/include/ncurses/stdlib.h:340: `wchar_t' undeclared (first use this function) /usr/include/ncurses/stdlib.h:340: (Each undeclared identifier is reported only once /usr/include/ncurses/stdlib.h:340: for each function it appears in.) /usr/include/ncurses/stdlib.h:340: parse error before `)' /usr/include/ncurses/stdlib.h: At top level: /usr/include/ncurses/stdlib.h:345: parse error before `*' /usr/include/ncurses/stdlib.h:347: parse error before `*' make[1]: *** [lxdialog.o] Error 1 make[1]: Leaving directory `/usr/src/kernel-source-2.0.27/scripts/lxdialog' make: *** [menuconfig] Error 2 # Of course, I can say `make config', but compiling kernel I've got another serious troubles. I'm not going to show all of them, but main pont is here: when I try to compile this simple example: $ cat t.c #include <ctype.h> void main(void) { unsigned char *mct=_ctype; } gcc complains: $ gcc -v -o t t.c Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs gcc driver version 2.7.2.1 Objective-C snapshot 960906 executing gcc version 2.7.2.1 /usr/lib/gcc-lib/i486-linux/2.7.2.1/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(unix) -Asystem(posix) -Acpu(i386) -Amachine(i386) -D__i486__ t.c /tmp/cca02342.i GNU CPP version 2.7.2.1 Objective-C snapshot 960906 (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/i486-linux/include /usr/lib/gcc-lib/i486-linux/2.7.2.1/include /usr/include End of search list. In file included from t.c:1: /usr/include/ctype.h:1: No include path in which to find ctype.h $ O.k., right ctype.h is in /usr/include/linux, but with previous versions of cpp and gcc packages I haven't got such troubles. But, it's not all, if I say gcc -v -I /usr/include/linux -o t t.c, now ld complains $ gcc -v -I /usr/include/linux -o t t.c Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs gcc driver version 2.7.2.1 Objective-C snapshot 960906 executing gcc version 2.7.2.1 /usr/lib/gcc-lib/i486-linux/2.7.2.1/cpp -lang-c -v -I /usr/include/linux -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(unix) -Asystem(posix) -Acpu(i386) -Amachine(i386) -D__i486__ t.c /tmp/cca02391.i GNU CPP version 2.7.2.1 Objective-C snapshot 960906 (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/include/linux /usr/local/include /usr/i486-linux/include /usr/lib/gcc-lib/i486-linux/2.7.2.1/include /usr/include End of search list. /usr/lib/gcc-lib/i486-linux/2.7.2.1/cc1 /tmp/cca02391.i -quiet -dumpbase t.c -version -o /tmp/cca02391.s GNU C version 2.7.2.1 Objective-C snapshot 960906 (i386 Linux/ELF) compiled by GNU C version 2.7.2.1. as -V -Qy -o /tmp/cca023911.o /tmp/cca02391.s GNU assembler version 2.7 (i486-linux), using BFD version 2.7.0.3 ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -o t /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib/gcc-lib/i486-linux/2.7.2.1 /tmp/cca023911.o -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o /tmp/cca023911.o: In function `main': /tmp/cca023911.o(.text+0x9): undefined reference to `_ctype' $ Any sugestions? -- Alexey V. Naidyonov | mailto:[EMAIL PROTECTED] Tula State University | http://www.ocnit.tsu.tula.ru/~growler/