Skocz do zawartości

Aktualizacja Kernelu


Karlik

Rekomendowane odpowiedzi

[root@localhost ~]# cd '/usr/src/linux-2.6.15'
[root@localhost linux-2.6.15]# make menuconfig
 HOSTCC  scripts/basic/fixdep
 HOSTCC  scripts/basic/split-include
 HOSTCC  scripts/basic/docproc
 HOSTCC  scripts/kconfig/conf.o
 HOSTCC  scripts/kconfig/kxgettext.o
 HOSTCC  scripts/kconfig/mconf.o
 SHIPPED scripts/kconfig/zconf.tab.c
 SHIPPED scripts/kconfig/lex.zconf.c
 SHIPPED scripts/kconfig/zconf.hash.c
 HOSTCC  scripts/kconfig/zconf.tab.o
 HOSTLD  scripts/kconfig/mconf
 HOSTCC  scripts/lxdialog/checklist.o
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:32:20: error: curses.h: Nie ma takiego pliku ani katal
ogu
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:130: error: syntax error before ‘use_colors’
scripts/lxdialog/dialog.h:130: warning: type defaults to ‘int’ in declaration of
‘use_colors’
scripts/lxdialog/dialog.h:130: warning: data definition has no type or storage c
lass
scripts/lxdialog/dialog.h:131: error: syntax error before ‘use_shadow’
scripts/lxdialog/dialog.h:131: warning: type defaults to ‘int’ in declaration of
‘use_shadow’
scripts/lxdialog/dialog.h:131: warning: data definition has no type or storage c
lass
scripts/lxdialog/dialog.h:133: error: syntax error before ‘attributes’
scripts/lxdialog/dialog.h:133: warning: type defaults to ‘int’ in declaration of
‘attributes’
scripts/lxdialog/dialog.h:133: warning: data definition has no type or storage c
lass
scripts/lxdialog/dialog.h:146: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:146: warning: function declaration isn’t a prototype
scripts/lxdialog/dialog.h:149: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:149: warning: function declaration isn’t a prototype
scripts/lxdialog/dialog.h:150: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:150: warning: function declaration isn’t a prototype
scripts/lxdialog/dialog.h:151: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:152: warning: function declaration isn’t a prototype
scripts/lxdialog/dialog.h:153: error: syntax error before ‘*’ token
scripts/lxdialog/dialog.h:153: warning: function declaration isn’t a prototype
scripts/lxdialog/checklist.c:32: error: syntax error before ‘*’ token
scripts/lxdialog/checklist.c:34: warning: function declaration isn’t a prototype
scripts/lxdialog/checklist.c: In function ‘print_item’:
scripts/lxdialog/checklist.c:38: warning: implicit declaration of function ‘watt
rset’
scripts/lxdialog/checklist.c:38: error: ‘win’ undeclared (first use in this func
tion)
scripts/lxdialog/checklist.c:38: error: (Each undeclared identifier is reported
only once
scripts/lxdialog/checklist.c:38: error: for each function it appears in.)
scripts/lxdialog/checklist.c:39: warning: implicit declaration of function ‘wmov
e’
scripts/lxdialog/checklist.c:39: error: ‘choice’ undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:41: warning: implicit declaration of function ‘wadd
ch’
scripts/lxdialog/checklist.c:44: error: ‘selected’ undeclared (first use in this
function)
scripts/lxdialog/checklist.c:46: warning: implicit declaration of function ‘wpri
ntw’
scripts/lxdialog/checklist.c:46: error: ‘status’ undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:51: warning: implicit declaration of function ‘mvwa
ddch’
scripts/lxdialog/checklist.c:51: error: ‘item’ undeclared (first use in this fun
ction)
scripts/lxdialog/checklist.c:53: warning: implicit declaration of function ‘wadd
str’
scripts/lxdialog/checklist.c:56: warning: implicit declaration of function ‘wref
resh’
scripts/lxdialog/checklist.c: At top level:
scripts/lxdialog/checklist.c:64: error: syntax error before ‘*’ token
scripts/lxdialog/checklist.c:66: warning: function declaration isn’t a prototype
scripts/lxdialog/checklist.c: In function ‘print_arrows’:
scripts/lxdialog/checklist.c:67: error: ‘win’ undeclared (first use in this func
tion)
scripts/lxdialog/checklist.c:67: error: ‘y’ undeclared (first use in this functi
on)
scripts/lxdialog/checklist.c:67: error: ‘x’ undeclared (first use in this functi
on)
scripts/lxdialog/checklist.c:69: error: ‘scroll’ undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:82: error: ‘height’ undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:85: error: ‘item_no’ undeclared (first use in this
function)
scripts/lxdialog/checklist.c:85: error: ‘choice’ undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c: At top level:
scripts/lxdialog/checklist.c:103: error: syntax error before ‘*’ token
scripts/lxdialog/checklist.c:104: warning: function declaration isn’t a prototyp
e
scripts/lxdialog/checklist.c: In function ‘print_buttons’:
scripts/lxdialog/checklist.c:105: error: ‘width’ undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:106: error: ‘height’ undeclared (first use in this
function)
scripts/lxdialog/checklist.c:108: error: ‘dialog’ undeclared (first use in this
function)
scripts/lxdialog/checklist.c:108: error: ‘selected’ undeclared (first use in thi
s function)
scripts/lxdialog/checklist.c: In function ‘dialog_checklist’:
scripts/lxdialog/checklist.c:126: error: ‘WINDOW’ undeclared (first use in this
function)
scripts/lxdialog/checklist.c:126: error: ‘dialog’ undeclared (first use in this
function)
scripts/lxdialog/checklist.c:126: error: ‘list’ undeclared (first use in this fu
nction)
scripts/lxdialog/checklist.c:126: warning: left-hand operand of comma expression
has no effect
scripts/lxdialog/checklist.c:126: warning: statement with no effect
scripts/lxdialog/checklist.c:132: warning: implicit declaration of function ‘end
win’
scripts/lxdialog/checklist.c:133: warning: implicit declaration of function ‘fpr
intf’
scripts/lxdialog/checklist.c:133: warning: incompatible implicit declaration of
built-in function ‘fprintf’
scripts/lxdialog/checklist.c:133: error: ‘stderr’ undeclared (first use in this
function)
scripts/lxdialog/checklist.c:150: error: ‘COLS’ undeclared (first use in this fu
nction)
scripts/lxdialog/checklist.c:151: error: ‘LINES’ undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:153: error: ‘stdscr’ undeclared (first use in this
function)
scripts/lxdialog/checklist.c:155: warning: implicit declaration of function ‘new
win’
scripts/lxdialog/checklist.c:156: warning: implicit declaration of function ‘key
pad’
scripts/lxdialog/checklist.c:156: error: ‘TRUE’ undeclared (first use in this fu
nction)
scripts/lxdialog/checklist.c:189: warning: implicit declaration of function ‘sub
win’
scripts/lxdialog/checklist.c:221: warning: implicit declaration of function ‘wno
utrefresh’
scripts/lxdialog/checklist.c:223: warning: implicit declaration of function ‘dou
pdate’
scripts/lxdialog/checklist.c:226: warning: implicit declaration of function ‘wge
tch’
scripts/lxdialog/checklist.c:233: error: ‘KEY_UP’ undeclared (first use in this
function)
scripts/lxdialog/checklist.c:233: error: ‘KEY_DOWN’ undeclared (first use in thi
s function)
scripts/lxdialog/checklist.c:243: error: ‘FALSE’ undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:244: warning: implicit declaration of function ‘scr
ollok’
scripts/lxdialog/checklist.c:245: warning: implicit declaration of function ‘wsc
rl’
scripts/lxdialog/checklist.c:307: warning: incompatible implicit declaration of
built-in function ‘fprintf’
scripts/lxdialog/checklist.c:308: warning: implicit declaration of function ‘del
win’
scripts/lxdialog/checklist.c:312: error: ‘KEY_LEFT’ undeclared (first use in thi
s function)
scripts/lxdialog/checklist.c:313: error: ‘KEY_RIGHT’ undeclared (first use in th
is function)
make[2]: *** [scripts/lxdialog/checklist.o] Błąd 1
make[1]: *** [menuconfig] Błąd 2
make: *** [menuconfig] Błąd 2

Wszystko robie dobrze, a taki błąd, tak jakby był bład w kodzie źródłowym. Skąd ściągnąć poprawne? Ta wersja pochodzi z www.kernel.org

Odnośnik do komentarza
Udostępnij na innych stronach

[root@localhost /]# ln '/usr/src/linux-2.6.15.4'
ln: `/usr/src/linux-2.6.15.4': nie można zrobić dowiązania zwykłego do katalogu

[root@localhost ~]# rpm -qa|grep devel
kernel-devel-2.6.11-1.1369_FC4
libgcj-devel-4.0.0-8
glibc-devel-2.3.5-10
zlib-devel-1.2.2.2-3

Jakieś pomysły question.gif

Odnośnik do komentarza
Udostępnij na innych stronach

Wątpię w to. Kernel jest napisany w C. Spróbuj moze tego: ftp://rpmfind.net/linux/fedora/core/4/i38...5.4-17.i386.rpm

i tego: ftp://rpmfind.net/linux/fedora/core/4/i38...5.4-17.i386.rpm

Coś masz moze z terminalem pokopane, więc biblioteka ncurses moze pomoze. Ale najpierw zrob tak jak ecik__ ci doradził. Czyli dograj pakiet gcc-c++, ja go mam i mi poszła konfiguracja tego kernela. Jak juz to nie zadziała, użyj konsolowego konfiguratora, wydając polecenie:

make config

Odnośnik do komentarza
Udostępnij na innych stronach

Zajrzałem do SPEC-a z kernela i tu są pakiety, który na 100% musisz mieć (niektóre z nich do graficznych konfiguratorów)

 

BuildPreReq: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
BuildPreReq: bzip2, findutils, dev, gzip, m4, perl, make >= 3.78, gnupg
BuildPreReq: modutils >= 2.4.26-14
BuildRequires: gcc >= 2.96-98, binutils >= 2.12, redhat-rpm-config
Requires: make >= 3.78
Requires: gcc >= 3.2
Requires: /usr/bin/strip
Requires: qt-devel, gtk2-devel readline-devel ncurses-devel

Odnośnik do komentarza
Udostępnij na innych stronach

ncurses niby pomogło, bo się uruchomiło make menuconfig...potem make bzImage, make modules...makemodules_install pod koniec robi malą zwieszką i cośtam unieważnione, skopiowałem do boot obraz i sie zorientowałem, że nie mam pliku lilo.conf...to normalne? jak sobie z tym poradzić?

 

EDIT:

użyłem szukajki i spróbuje tego gruba, bo jego mam scared.gif

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...