jakub.s Napisano Styczeń 25, 2005 Zgłoszenie Share Napisano Styczeń 25, 2005 No więc uporałem się z gcc (nie było go wcale - ale ze mnie lamer!). Następny problem wygląda tak. Macie może jakieś pomysły? Sorry za te pytania ale jestem zupełny newbie. [root@LinuxStation linux-2.6.10]# make menuconfig HOSTCC scripts/lxdialog/checklist.o In file included from scripts/lxdialog/checklist.c:24: scripts/lxdialog/dialog.h:32:20: curses.h: Nie ma takiego pliku ani katalogu 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 class 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 class 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 class 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 prototypescripts/lxdialog/checklist.c: In function `print_item': scripts/lxdialog/checklist.c:38: warning: implicit declaration of function `wattrset' scripts/lxdialog/checklist.c:38: error: `win' undeclared (first use in this function) 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 `wmove' scripts/lxdialog/checklist.c:39: error: `choice' undeclared (first use in this function) scripts/lxdialog/checklist.c:41: warning: implicit declaration of function `waddch' scripts/lxdialog/checklist.c:44: error: `selected' undeclared (first use in this function) scripts/lxdialog/checklist.c:46: warning: implicit declaration of function `wprintw' scripts/lxdialog/checklist.c:46: error: `status' undeclared (first use in this function) scripts/lxdialog/checklist.c:51: warning: implicit declaration of function `mvwaddch' scripts/lxdialog/checklist.c:51: error: `item' undeclared (first use in this function) scripts/lxdialog/checklist.c:53: warning: implicit declaration of function `waddstr' scripts/lxdialog/checklist.c:56: warning: implicit declaration of function `wrefresh' 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 prototypescripts/lxdialog/checklist.c: In function `print_arrows': scripts/lxdialog/checklist.c:67: error: `win' undeclared (first use in this function) scripts/lxdialog/checklist.c:67: error: `y' undeclared (first use in this function) scripts/lxdialog/checklist.c:67: error: `x' undeclared (first use in this function) scripts/lxdialog/checklist.c:69: error: `scroll' undeclared (first use in this function) scripts/lxdialog/checklist.c:82: error: `height' undeclared (first use in this function) 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 function) 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 prototype scripts/lxdialog/checklist.c: In function `print_buttons': scripts/lxdialog/checklist.c:105: error: `width' undeclared (first use in this function) 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 this 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 function) scripts/lxdialog/checklist.c:126: warning: left-hand operand of comma expression has no effect scripts/lxdialog/checklist.c:132: warning: implicit declaration of function `endwin' scripts/lxdialog/checklist.c:133: warning: implicit declaration of 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 function) scripts/lxdialog/checklist.c:151: error: `LINES' undeclared (first use in this function) scripts/lxdialog/checklist.c:153: error: `stdscr' undeclared (first use in this function) scripts/lxdialog/checklist.c:155: warning: implicit declaration of function `newwin' scripts/lxdialog/checklist.c:156: warning: implicit declaration of function `keypad' scripts/lxdialog/checklist.c:156: error: `TRUE' undeclared (first use in this function) scripts/lxdialog/checklist.c:189: warning: implicit declaration of function `subwin' scripts/lxdialog/checklist.c:221: warning: implicit declaration of function `wnoutrefresh' scripts/lxdialog/checklist.c:223: warning: implicit declaration of function `doupdate' scripts/lxdialog/checklist.c:226: warning: implicit declaration of function `wgetch' 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 this function) scripts/lxdialog/checklist.c:243: error: `FALSE' undeclared (first use in this function) scripts/lxdialog/checklist.c:244: warning: implicit declaration of function `scrollok' scripts/lxdialog/checklist.c:245: warning: implicit declaration of function `wscrl' scripts/lxdialog/checklist.c:272: error: called object is not a function scripts/lxdialog/checklist.c:308: warning: implicit declaration of function `delwin' scripts/lxdialog/checklist.c:312: error: `KEY_LEFT' undeclared (first use in this function) scripts/lxdialog/checklist.c:313: error: `KEY_RIGHT' undeclared (first use in this function) scripts/lxdialog/checklist.c:126: warning: statement with no effect scripts/lxdialog/checklist.c: At top level: scripts/lxdialog/dialog.h:133: warning: array 'attributes' assumed to have one element make[2]: *** [scripts/lxdialog/checklist.o] Błąd 1 make[1]: *** [menuconfig] Błąd 2 make: *** [menuconfig] Błąd 2 Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
@WalDo Napisano Styczeń 25, 2005 Zgłoszenie Share Napisano Styczeń 25, 2005 Coś chyba straaaasznie namieszałeś Weź przepis instalacji źródeł stąd: http://www.mjmwired.net/resources/mjm-fedo...shtml#kernelsrc a kernela stąd: http://www.mjmwired.net/resources/mjm-kernel-fc3.shtml No i ściągnij paczkę src.rpm z Fedory (albo z mirrora jakiegoś), a nie źródła z kernel.org. Fedora ma zawsze jakieś "ulepszenia" w stosunku do oryginalnego jajka, jak zainstalujesz z kernel.org, a nie wiesz co robisz, to potem może ci kilka rzeczy nie działać :lammer: A przede wszystkim to chyba kompilator nie cały zainstalowałeś ta linijka: scripts/lxdialog/dialog.h:32:20: curses.h: Nie ma takiego pliku ani katalogu mówi, że nie masz pliku nagłówkowego curses.h albo nie jest na ścieżce poszukiwań. Jak doinstalowałeś kompilator? Bo najprościej to by było wejść w Ustawienia systemowe->Dodaj/Usuń aplikacje i zainstalował (najlepiej w całości) grupy "Narzędzia programistyczne" i "Rozwój klasycznego oprogramowania" Powodzenia, W. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
jakub.s Napisano Styczeń 25, 2005 Autor Zgłoszenie Share Napisano Styczeń 25, 2005 Pomogło. Dzieki wielkie... 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ę