The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"Не собирается ядро - помогите!"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Не собирается ядро - помогите!"  
Сообщение от mdanshin email(ok) on 19-Июн-06, 14:01 
Господа, помогите. Не пойму в чем дело. Закачал свежее ядро: 2.6.16.20.
Система ALT Linux v.3
Пытаюсь его скомпилить: make menuconfig, а он мен говорит:

make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:31:20: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:128: error: syntax error before "use_colors"
scripts/kconfig/lxdialog/dialog.h:128: warning: type defaults to `int' in declaration of `use_colors'
scripts/kconfig/lxdialog/dialog.h:128: warning: data definition has no type or storage class
scripts/kconfig/lxdialog/dialog.h:129: error: syntax error before "use_shadow"
scripts/kconfig/lxdialog/dialog.h:129: warning: type defaults to `int' in declaration of `use_shadow'
scripts/kconfig/lxdialog/dialog.h:129: warning: data definition has no type or storage class
scripts/kconfig/lxdialog/dialog.h:131: error: syntax error before "attributes"
scripts/kconfig/lxdialog/dialog.h:131: warning: type defaults to `int' in declaration of `attributes'
scripts/kconfig/lxdialog/dialog.h:131: warning: data definition has no type or storage class
scripts/kconfig/lxdialog/dialog.h:143: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:143: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:146: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:146: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:147: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:147: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:148: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:148: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:149: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:150: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:151: error: syntax error before '*' token
scripts/kconfig/lxdialog/dialog.h:151: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c:31: error: syntax error before '*' token
scripts/kconfig/lxdialog/checklist.c:33: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c: In function `print_item':
scripts/kconfig/lxdialog/checklist.c:37: warning: implicit declaration of function `wattrset'
scripts/kconfig/lxdialog/checklist.c:37: error: `win' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:37: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:37: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:38: warning: implicit declaration of function `wmove'
scripts/kconfig/lxdialog/checklist.c:38: error: `choice' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:40: warning: implicit declaration of function `waddch'
scripts/kconfig/lxdialog/checklist.c:43: error: `selected' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:44: warning: implicit declaration of function `wprintw'
scripts/kconfig/lxdialog/checklist.c:44: error: `status' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:47: warning: implicit declaration of function `mvwaddch'
scripts/kconfig/lxdialog/checklist.c:47: error: `item' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:49: warning: implicit declaration of function `waddstr'
scripts/kconfig/lxdialog/checklist.c:52: warning: implicit declaration of function `wrefresh'
scripts/kconfig/lxdialog/checklist.c: At top level:
scripts/kconfig/lxdialog/checklist.c:59: error: syntax error before '*' token
scripts/kconfig/lxdialog/checklist.c:61: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c: In function `print_arrows':
scripts/kconfig/lxdialog/checklist.c:62: error: `win' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:62: error: `y' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:62: error: `x' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:64: error: `scroll' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:76: error: `height' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:79: error: `item_no' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:79: error: `choice' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c: At top level:
scripts/kconfig/lxdialog/checklist.c:95: error: syntax error before '*' token
scripts/kconfig/lxdialog/checklist.c:96: warning: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c: In function `print_buttons':
scripts/kconfig/lxdialog/checklist.c:97: error: `width' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:98: error: `height' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:100: error: `dialog' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:100: error: `selected' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c: In function `dialog_checklist':
scripts/kconfig/lxdialog/checklist.c:117: error: `WINDOW' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: error: `dialog' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: error: `list' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function `endwin'
scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function `fprintf'
scripts/kconfig/lxdialog/checklist.c:122: error: `stderr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:140: error: `COLS' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:141: error: `LINES' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:143: error: `stdscr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function `newwin'
scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function `keypad'
scripts/kconfig/lxdialog/checklist.c:146: error: `TRUE' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function `subwin'
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function `wnoutrefresh'
scripts/kconfig/lxdialog/checklist.c:201: warning: implicit declaration of function `doupdate'
scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function `wgetch'
scripts/kconfig/lxdialog/checklist.c:211: error: `KEY_UP' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:211: error: `KEY_DOWN' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: error: `FALSE' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function `scrollok'
scripts/kconfig/lxdialog/checklist.c:223: warning: implicit declaration of function `wscrl'
scripts/kconfig/lxdialog/checklist.c:284: warning: implicit declaration of function `delwin'
scripts/kconfig/lxdialog/checklist.c:288: error: `KEY_LEFT' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:289: error: `KEY_RIGHT' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: warning: statement with no effect
scripts/kconfig/lxdialog/checklist.c: At top level:
scripts/kconfig/lxdialog/dialog.h:131: warning: array 'attributes' assumed to have one element
make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Ошибка 1
make[1]: *** [menuconfig] Ошибка 2
make: *** [menuconfig] Ошибка 2

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]


1. "Не собирается ядро - помогите!"  
Сообщение от anonymous (??) on 19-Июн-06, 16:19 
>Господа, помогите. Не пойму в чем дело. Закачал свежее ядро: 2.6.16.20.
>Система ALT Linux v.3
>Пытаюсь его скомпилить: make menuconfig, а он мен говорит:
>
>make menuconfig
>HOSTCC scripts/kconfig/lxdialog/checklist.o
>In file included from scripts/kconfig/lxdialog/checklist.c:24:
>scripts/kconfig/lxdialog/dialog.h:31:20: curses.h: No such file or directory
>In file included from scripts/kconfig/lxdialog/checklist.c:24:
>scripts/kconfig/lxdialog/dialog.h:128: error: syntax error before "use_colors"
>scripts/kconfig/lxdialog/dialog.h:128: warning: type defaults to `int' in declaration of `use_colors'
>scripts/kconfig/lxdialog/dialog.h:128: warning: data definition has no type or storage class
>scripts/kconfig/lxdialog/dialog.h:129: error: syntax error before "use_shadow"
>scripts/kconfig/lxdialog/dialog.h:129: warning: type defaults to `int' in declaration of `use_shadow'
>scripts/kconfig/lxdialog/dialog.h:129: warning: data definition has no type or storage class
>scripts/kconfig/lxdialog/dialog.h:131: error: syntax error before "attributes"
>scripts/kconfig/lxdialog/dialog.h:131: warning: type defaults to `int' in declaration of `attributes'
>scripts/kconfig/lxdialog/dialog.h:131: warning: data definition has no type or storage class
>scripts/kconfig/lxdialog/dialog.h:143: error: syntax error before '*' token
>scripts/kconfig/lxdialog/dialog.h:143: warning: function declaration isn't a prototype
>scripts/kconfig/lxdialog/dialog.h:146: error: syntax error before '*' token
>scripts/kconfig/lxdialog/dialog.h:146: warning: function declaration isn't a prototype
>scripts/kconfig/lxdialog/dialog.h:147: error: syntax error before '*' token
>scripts/kconfig/lxdialog/dialog.h:147: warning: function declaration isn't a prototype
>scripts/kconfig/lxdialog/dialog.h:148: error: syntax error before '*' token
>scripts/kconfig/lxdialog/dialog.h:148: warning: function declaration isn't a prototype
>scripts/kconfig/lxdialog/dialog.h:149: error: syntax error before '*' token
>scripts/kconfig/lxdialog/dialog.h:150: warning: function declaration isn't a prototype
>scripts/kconfig/lxdialog/dialog.h:151: error: syntax error before '*' token
>scripts/kconfig/lxdialog/dialog.h:151: warning: function declaration isn't a prototype
>scripts/kconfig/lxdialog/checklist.c:31: error: syntax error before '*' token
>scripts/kconfig/lxdialog/checklist.c:33: warning: function declaration isn't a prototype
>scripts/kconfig/lxdialog/checklist.c: In function `print_item':
>scripts/kconfig/lxdialog/checklist.c:37: warning: implicit declaration of function `wattrset'
>scripts/kconfig/lxdialog/checklist.c:37: error: `win' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:37: error: (Each undeclared identifier is reported only once
>scripts/kconfig/lxdialog/checklist.c:37: error: for each function it appears in.)
>scripts/kconfig/lxdialog/checklist.c:38: warning: implicit declaration of function `wmove'
>scripts/kconfig/lxdialog/checklist.c:38: error: `choice' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:40: warning: implicit declaration of function `waddch'
>scripts/kconfig/lxdialog/checklist.c:43: error: `selected' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:44: warning: implicit declaration of function `wprintw'
>scripts/kconfig/lxdialog/checklist.c:44: error: `status' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:47: warning: implicit declaration of function `mvwaddch'
>scripts/kconfig/lxdialog/checklist.c:47: error: `item' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:49: warning: implicit declaration of function `waddstr'
>scripts/kconfig/lxdialog/checklist.c:52: warning: implicit declaration of function `wrefresh'
>scripts/kconfig/lxdialog/checklist.c: At top level:
>scripts/kconfig/lxdialog/checklist.c:59: error: syntax error before '*' token
>scripts/kconfig/lxdialog/checklist.c:61: warning: function declaration isn't a prototype
>scripts/kconfig/lxdialog/checklist.c: In function `print_arrows':
>scripts/kconfig/lxdialog/checklist.c:62: error: `win' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:62: error: `y' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:62: error: `x' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:64: error: `scroll' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:76: error: `height' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:79: error: `item_no' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:79: error: `choice' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c: At top level:
>scripts/kconfig/lxdialog/checklist.c:95: error: syntax error before '*' token
>scripts/kconfig/lxdialog/checklist.c:96: warning: function declaration isn't a prototype
>scripts/kconfig/lxdialog/checklist.c: In function `print_buttons':
>scripts/kconfig/lxdialog/checklist.c:97: error: `width' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:98: error: `height' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:100: error: `dialog' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:100: error: `selected' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c: In function `dialog_checklist':
>scripts/kconfig/lxdialog/checklist.c:117: error: `WINDOW' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:117: error: `dialog' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:117: error: `list' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:117: warning: left-hand operand of comma expression has no effect
>scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function `endwin'
>scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function `fprintf'
>scripts/kconfig/lxdialog/checklist.c:122: error: `stderr' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:140: error: `COLS' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:141: error: `LINES' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:143: error: `stdscr' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function `newwin'
>scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function `keypad'
>scripts/kconfig/lxdialog/checklist.c:146: error: `TRUE' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function `subwin'
>scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function `wnoutrefresh'
>scripts/kconfig/lxdialog/checklist.c:201: warning: implicit declaration of function `doupdate'
>scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function `wgetch'
>scripts/kconfig/lxdialog/checklist.c:211: error: `KEY_UP' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:211: error: `KEY_DOWN' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:221: error: `FALSE' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function `scrollok'
>scripts/kconfig/lxdialog/checklist.c:223: warning: implicit declaration of function `wscrl'
>scripts/kconfig/lxdialog/checklist.c:284: warning: implicit declaration of function `delwin'
>scripts/kconfig/lxdialog/checklist.c:288: error: `KEY_LEFT' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:289: error: `KEY_RIGHT' undeclared (first use in this function)
>scripts/kconfig/lxdialog/checklist.c:117: warning: statement with no effect
>scripts/kconfig/lxdialog/checklist.c: At top level:
>scripts/kconfig/lxdialog/dialog.h:131: warning: array 'attributes' assumed to have one element
>make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Ошибка 1
>make[1]: *** [menuconfig] Ошибка 2
>make: *** [menuconfig] Ошибка 2


дык попробуйте установить ncurses-dev

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

3. "Не собирается ядро - помогите!"  
Сообщение от mdanshin email(ok) on 20-Июн-06, 16:31 
>>Господа, помогите. Не пойму в чем дело. Закачал свежее ядро: 2.6.16.20.
>>Система ALT Linux v.3
>>Пытаюсь его скомпилить: make menuconfig, а он мен говорит:
>>
>>make menuconfig
>>make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Ошибка 1
>>make[1]: *** [menuconfig] Ошибка 2
>>make: *** [menuconfig] Ошибка 2
>
>
>дык попробуйте установить ncurses-dev


Хм... Спасибо! Действительно помогло. А из чего это следует?

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

4. "Не собирается ядро - помогите!"  
Сообщение от anonymous (??) on 21-Июн-06, 11:52 
>>>Господа, помогите. Не пойму в чем дело. Закачал свежее ядро: 2.6.16.20.
>>>Система ALT Linux v.3
>>>Пытаюсь его скомпилить: make menuconfig, а он мен говорит:
>>>
>>>make menuconfig
>>>make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Ошибка 1
>>>make[1]: *** [menuconfig] Ошибка 2
>>>make: *** [menuconfig] Ошибка 2
>>
>>
>>дык попробуйте установить ncurses-dev
>
>
>Хм... Спасибо! Действительно помогло. А из чего это следует?


В жалобном логе есть строчка:
scripts/kconfig/lxdialog/dialog.h:31:20: curses.h: No such file or directory
Т.е. хочет заглянуть в curses.h, а его нету. Ну а дальше ищем... и находим в ncurses-dev.

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

2. "Не собирается ядро - помогите!"  
Сообщение от zsh (ok) on 20-Июн-06, 04:36 
>Господа, помогите. Не пойму в чем дело. Закачал свежее ядро: 2.6.16.20.
>Система ALT Linux v.3
>Пытаюсь его скомпилить: make menuconfig, а он мен говорит:
>
>make menuconfig
>HOSTCC scripts/kconfig/lxdialog/checklist.o
>In file included from scripts/kconfig/lxdialog/checklist.c:24:
>scripts/kconfig/lxdialog/dialog.h:31:20: curses.h: No such file or directory

Думаю, что Вам должна помочь установка чего-то похожего на libncurses и ncurses-dev.

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру