Karlik Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 [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 More sharing options...
Faust_ Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 Primo ściągnij najnowszą wersję kernela. Secundo rozpakuj tarrballa i zrób symlinka (ln /usr/src/linux-2.6.15.4 << dla kernela 2.6.15.4>> /usr/src/linux) A tak poza tym dlaczego chcesz kompilować jądro? Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Karlik Napisano Luty 17, 2006 Autor Zgłoszenie Share Napisano Luty 17, 2006 Z najnowszym to samo, ale nie kopiowałem, bo nie widziałem sensu, skoro to samo, bede musial sprawdzic tego symlinka Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
ecik__ Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 Mi to raczej wygląda na jakiś problem z Twoimi bibliotekami programistycznymi. Jakichś Ci brakuje. Pokaż wynik polecenia: rpm -qa |grep devel Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Karlik Napisano Luty 17, 2006 Autor Zgłoszenie Share Napisano Luty 17, 2006 [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 Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Daniello Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 Sprawdź czy nie ma jakiegoś pliku specyfikacji tego kernela. Na podstawie niego, porównaj co masz w systemie, a czego nie masz. Być może masz starszą wersję GCC. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Karlik Napisano Luty 17, 2006 Autor Zgłoszenie Share Napisano Luty 17, 2006 Sorry, ale ja nie chcę jeszcze bardziej namieszać Jakieś proste rzeczy które by mogły znaleźć przyczyne Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Daniello Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 Nie namieszasz. Kompilując nowego kernela nie psujesz starego. Stary jest załadowany do pamięci i cały czas działa. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
ecik__ Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 Jakieś pomysły Jeszcze zapodaj rpm -qa |grep gcc Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Karlik Napisano Luty 17, 2006 Autor Zgłoszenie Share Napisano Luty 17, 2006 libgcc-4.0.0-8 gcc-4.0.0-8 gcc-java-4.0.0-8 Sorry, ze to tyle trwa, ale zmiana systemu nie jest szybka Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
ecik__ Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 To może spróbuj dograć pakiet gcc-c++ Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Daniello Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 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 More sharing options...
ecik__ Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 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 More sharing options...
Daniello Napisano Luty 17, 2006 Zgłoszenie Share Napisano Luty 17, 2006 Niom. I ncurses wśród nich też jest Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Karlik Napisano Luty 18, 2006 Autor Zgłoszenie Share Napisano Luty 18, 2006 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 Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
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ę