LINUX.ORG.RU

make menuconfig


0

0

задумал пересобрать ядро(кое-что включидь)
а "make menuconfig" ругаеццо:

scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or directory
scripts/basic/fixdep.c:108:22: error: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:109:22: error: sys/mman.h: No such file or directory
scripts/basic/fixdep.c:110:20: error: unistd.h: No such file or directory
In file included from /usr/include/fcntl.h:26,
. 
.еще куча однотипного но слишком большое -не отправляет
.
scripts/basic/fixdep.c:299: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c:300: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:340: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:372: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:383: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:397: error: old-style parameter declarations in prototyped function definition
scripts/basic/fixdep.c:397: error: expected ‘{’ at end of input
make[1]: *** [scripts/basic/fixdep] Ошибка 1
make: *** [scripts_basic] Ошибка 2



в чём может быть дело?
★★★★★

и ядро перестало собираться:

make[1]: Entering directory `/usr/src/linux-2.6.21'
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or directory
scripts/basic/fixdep.c:108:22: error: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:109:22: error: sys/mman.h: No such file or directory
scripts/basic/fixdep.c:110:20: error: unistd.h: No such file or directory
In file included from /usr/include/fcntl.h:26,
                 from scripts/basic/fixdep.c:111:
/usr/include/features.h:308:25: error: sys/cdefs.h: No such file or directory
In file included from /usr/include/fcntl.h:33,
                 from scripts/basic/fixdep.c:111:
/usr/include/bits/fcntl.h:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘struct’
/usr/include/bits/fcntl.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
In file included from scripts/basic/fixdep.c:111:
/usr/include/fcntl.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘extern’
/usr/include/fcntl.h: In function ‘open’:
/usr/include/fcntl.h:72: error: expected declaration specifiers before ‘__nonnull’
/usr/include/fcntl.h:91: error: expected declaration specifiers or ‘...’ before ‘__mode_t’
/usr/include/fcntl.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__nonnull’
/usr/include/fcntl.h:120: error: expected declaration specifiers or ‘...’ before ‘__off_t’
/usr/include/fcntl.h:120: error: storage class specified for parameter ‘lockf’
/usr/include/fcntl.h:174: error: expected declaration specifiers before ‘__END_DECLS’

.scripts/basic/fixdep.c:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:143: error: parameter ‘str_config’ is initialized
scripts/basic/fixdep.c:144: error: parameter ‘size_config’ is initialized
scripts/basic/fixdep.c:145: error: parameter ‘len_config’ is initialized
scripts/basic/fixdep.c:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:184: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:196: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:205: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:225: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c:226: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:258: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:269: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:299: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c:300: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:340: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:372: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:383: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
scripts/basic/fixdep.c:397: error: old-style parameter declarations in prototyped function definition
scripts/basic/fixdep.c:397: error: expected ‘{’ at end of input
make[2]: *** [scripts/basic/fixdep] Ошибка 1
make[1]: *** [scripts_basic] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.21'
make: *** [debian/stamp-kernel-conf] Ошибка 2
debian_1:/usr/src/linux-2.6.21# 
.

S_Paul ★★★★★
() автор топика
Ответ на: комментарий от S_Paul

проверь, есть ли файлы в каталоге /usr/include/sys

>в каком он пакете (debian etch)

вроде бы libc6-dev

>видимо что-то случилось..

вспоминай, что ставил/удалял

mky ★★★★★
()

Добавь в /etc/apt/sources.list
deb-src http://ftp.debian.org/debian/ sid main

# apt-get update
# apt-get build-dep linux-2.6
$ $ apt-get -b source linux-2.6
Reading package lists... Done
Building dependency tree... Done
Skipping already downloaded file 'linux-2.6_2.6.22-3.dsc'
Need to get 61.0MB of source archives.


sdio ★★★★★
()
Ответ на: комментарий от mky

всем большой танк"с

переустановил libc6-dev(удалил его +пачка пакетов,поставил заново),заработало :)

S_Paul ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.