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