Доброго дня! Предвижу Ваше возмущение за банальные вопросы, но не откажите в помощи. Возникает следующая ошибка и я не понимаю в чем суть и как исправить. Полный текст ошибки в аттаче error.txt. В ошибке говорится, что нет файла scripts/basic/fixdep.c: [EMAIL PROTECTED] ls -l kernel-source-2.6.8/scripts/basic/ total 36 -rw-r--r-- 1 root root 9759 2004-08-14 09:36 docproc.c -rw-r--r-- 1 root root 9004 2004-08-14 09:36 fixdep.c -rw-r--r-- 1 root root 856 2004-08-14 09:36 Makefile -rw-r--r-- 1 root root 5593 2004-08-14 09:36 split-include.c Но он ведь есть. Но судя по последующим записям заковыка именно в нем. Но что именно не так я, увы, понять не могу. Ядро устанавливалось посредством aptitude install kernel-source-2.6.8. В результате я получил файл kernel-source-2.6.8.tar.bz2, который распаковывал tar -jxvf kernel-source-2.6.8.tar.bz2. Было высказано предположение что нет хедеров ядра. Доустановил. Поставил пакет kernel-header-2.6.8-2, т.к. имею ядро: [EMAIL PROTECTED] apt-cache policy kernel-image-2.6.8-2-686 kernel-image-2.6.8-2-686: Installed: 2.6.8-16sarge1 Candidate: 2.6.8-16sarge1 Version Table: *** 2.6.8-16sarge1 0 500 cdrom://[Debian GNU/Linux 3.1 r1 _Sarge_ - Official i386 Binary-1 (20051218)] unstable/main Packages 500 http://security.debian.org stable/updates/main Packages 500 http://debian.nsu.ru sarge/main Packages 100 /var/lib/dpkg/status 2.6.8-16 0 500 cdrom://[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)] unstable/main Packages [EMAIL PROTECTED] apt-cache policy kernel-headers-2.6.8-2 kernel-headers-2.6.8-2: Installed: 2.6.8-16sarge1 Candidate: 2.6.8-16sarge1 Version Table: *** 2.6.8-16sarge1 0 500 cdrom://[Debian GNU/Linux 3.1 r1 _Sarge_ - Official i386 Binary-2 (20051218)] unstable/main Packages 500 http://security.debian.org stable/updates/main Packages 500 http://debian.nsu.ru sarge/main Packages 100 /var/lib/dpkg/status 2.6.8-16 0 500 cdrom://[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)] unstable/main Packages Соответствено директории /usr/src и /usr/include имеют вид: [EMAIL PROTECTED] ls -l /usr/include/ total 8 -rw-r--r-- 1 root root 2076 2005-01-05 01:43 initreq.h lrwxrwxrwx 1 root root 36 2006-11-29 21:09 linux -> /usr/src/kernel-source-2.6.8/include lrwxrwxrwx 1 root root 20 2006-11-04 18:34 X11 -> ../X11R6/include/X11 drwxr-xr-x 2 root root 4096 2006-02-06 18:12 xchat [EMAIL PROTECTED] ls -l /usr/src total 34116 drwxr-xr-x 16 root root 4096 2006-11-29 21:31 kernel-headers-2.6.8-2 drwxr-xr-x 3 root root 4096 2006-11-29 21:30 kernel-kbuild-2.6-3 drwxr-xr-x 18 root root 4096 2006-11-28 22:20 kernel-source-2.6.8 -rw-r--r-- 1 root root 34880682 2006-09-07 05:12 kernel-source-2.6.8.tar.bz2 Выполнение make menuconfig по-прежнему заканчивается тойже ошибкой. Подскажите, пожалуйста, что я делаю не так?
[EMAIL PROTECTED] make menuconfig HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c:97:23: sys/types.h: No such file or directory scripts/basic/fixdep.c:98:22: sys/stat.h: No such file or directory scripts/basic/fixdep.c:99:22: sys/mman.h: No such file or directory scripts/basic/fixdep.c:100:20: unistd.h: No such file or directory scripts/basic/fixdep.c:101:19: fcntl.h: No such file or directory scripts/basic/fixdep.c:102:20: string.h: No such file or directory scripts/basic/fixdep.c:103:20: stdlib.h: No such file or directory scripts/basic/fixdep.c:104:19: stdio.h: No such file or directory In file included from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, from scripts/basic/fixdep.c:105: /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No such file or directory scripts/basic/fixdep.c:106:19: ctype.h: No such file or directory scripts/basic/fixdep.c:107:24: netinet/in.h: No such file or directory scripts/basic/fixdep.c: In function `usage': scripts/basic/fixdep.c:121: warning: implicit declaration of function `fprintf' scripts/basic/fixdep.c:121: error: `stderr' undeclared (first use in this function) scripts/basic/fixdep.c:121: error: (Each undeclared identifier is reported only once scripts/basic/fixdep.c:121: error: for each function it appears in.) scripts/basic/fixdep.c:122: warning: implicit declaration of function `exit' scripts/basic/fixdep.c: In function `print_cmdline': scripts/basic/fixdep.c:127: warning: implicit declaration of function `printf' scripts/basic/fixdep.c: At top level: scripts/basic/fixdep.c:130: error: `NULL' undeclared here (not in a function) scripts/basic/fixdep.c: In function `grow_config': scripts/basic/fixdep.c:143: warning: implicit declaration of function `realloc' scripts/basic/fixdep.c:143: warning: assignment makes pointer from integer without a cast scripts/basic/fixdep.c:144: error: `NULL' undeclared (first use in this function) scripts/basic/fixdep.c:145: warning: implicit declaration of function `perror' scripts/basic/fixdep.c: In function `is_defined_config': scripts/basic/fixdep.c:161: warning: implicit declaration of function `memcmp' scripts/basic/fixdep.c: In function `define_config': scripts/basic/fixdep.c:174: warning: implicit declaration of function `memcpy' scripts/basic/fixdep.c: In function `use_config': scripts/basic/fixdep.c:193: error: `PATH_MAX' undeclared (first use in this function) scripts/basic/fixdep.c:207: warning: implicit declaration of function `tolower' scripts/basic/fixdep.c:193: warning: unused variable `s' scripts/basic/fixdep.c: At top level: scripts/basic/fixdep.c:212: error: syntax error before "size_t" scripts/basic/fixdep.c:213: warning: function declaration isn't a prototype scripts/basic/fixdep.c: In function `parse_config_file': scripts/basic/fixdep.c:214: error: `map' undeclared (first use in this function) scripts/basic/fixdep.c:214: error: `len' undeclared (first use in this function) scripts/basic/fixdep.c:220: warning: implicit declaration of function `ntohl' scripts/basic/fixdep.c:231: warning: implicit declaration of function `isalnum' scripts/basic/fixdep.c: In function `strrcmp': scripts/basic/fixdep.c:244: warning: implicit declaration of function `strlen' scripts/basic/fixdep.c: In function `do_config_file': scripts/basic/fixdep.c:255: error: storage size of `st' isn't known scripts/basic/fixdep.c:259: warning: implicit declaration of function `open' scrscripts/basic/fixdep.c:261: error: `stderr' undeclared (first use in this function) scripts/basic/fixdep.c:265: warning: implicit declaration of function `fstat' scripts/basic/fixdep.c:267: warning: implicit declaration of function `close' scripts/basic/fixdep.c:270: warning: implicit declaration of function `mmap' scripts/basic/fixdep.c:270: error: `NULL' undeclared (first use in this function) scripts/basic/fixdep.c:270: error: `PROT_READ' undeclared (first use in this function) scripts/basic/fixdep.c:270: error: `MAP_PRIVATE' undeclared (first use in this function) scripts/basic/fixdep.c:270: warning: assignment makes pointer from integer without a cast scripts/basic/fixdep.c:279: warning: implicit declaration of function `munmap' scripts/basic/fixdep.c:255: warning: unused variable `st' scripts/basic/fixdep.c: At top level: scripts/basic/fixdep.c:284: error: syntax error before "size_t" scripts/basic/fixdep.c:285: warning: function declaration isn't a prototype scripts/basic/fixdep.c: In function `parse_dep_file': scripts/basic/fixdep.c:286: error: `map' undeclared (first use in this function) scripts/basic/fixdep.c:287: error: `len' undeclared (first use in this function) scripts/basic/fixdep.c:289: error: `PATH_MAX' undeclared (first use in this function) scripts/basic/fixdep.c:291: warning: implicit declaration of function `strchr' scripts/basic/fixdep.c:293: error: `stderr' undeclared (first use in this function) scripts/basic/fixdep.c:289: warning: unused variable `s' scripts/basic/fixdep.c: In function `print_deps': scripts/basic/fixdep.c:325: error: storage size of `st' isn't known scripts/basic/fixdep.c:329: error: `O_RDONLY' undeclared (first use in this function) scripts/basic/fixdep.c:331: error: `stderr' undeclared (first use in this function) scripts/basic/fixdep.c:341: error: `NULL' undeclared (first use in this function) scripts/basic/fixdep.c:341: error: `PROT_READ' undeclared (first use in this function) scripts/basic/fixdep.c:341: error: `MAP_PRIVATE' undeclared (first use in this function) scripts/basic/fixdep.c:341: warning: assignment makes pointer from integer without a cast scripts/basic/fixdep.c:325: warning: unused variable `st' scripts/basic/fixdep.c: In function `traps': scripts/basic/fixdep.c:360: error: `stderr' undeclared (first use in this function) cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2