T
toschk
so bin anfänger in sachen Linux.
habe mir debian (Sarge) 3rev4 mit kernel debian 2.4.27-2-386 auf meinem Laptop Acer Aspire
5652 Wlmi installiert.
da ich ich aber für meinen wlan treiber (intel 3945) mindestens kernel 2.6.13 brauche, wollte ich ihn updaten. So hab ich mir die Full kernel sourcen von 2.6.19.2 besorgt. man will ja auf dem neusten stand bleiben. darüber hinaus noch die lsb-base 3.1-22 (unstable) die ich für die module-init-tools 3.3-pre3-1 benötige geladen und installiert. so alles wunderbar bis jetzt.
die kernel sourcen sind entpackt und bereit zum konfigurieren.
doch als ich make menuconfig eingebe kommt mir eine sinnflut von fehlermeldungen entgegen.
Was mache ich falsche und was kann man daggege tun?
Edit: Hatt sich erledigt. musste nur das paket libncurses5-dev installieren
habe mir debian (Sarge) 3rev4 mit kernel debian 2.4.27-2-386 auf meinem Laptop Acer Aspire
5652 Wlmi installiert.
da ich ich aber für meinen wlan treiber (intel 3945) mindestens kernel 2.6.13 brauche, wollte ich ihn updaten. So hab ich mir die Full kernel sourcen von 2.6.19.2 besorgt. man will ja auf dem neusten stand bleiben. darüber hinaus noch die lsb-base 3.1-22 (unstable) die ich für die module-init-tools 3.3-pre3-1 benötige geladen und installiert. so alles wunderbar bis jetzt.
die kernel sourcen sind entpackt und bereit zum konfigurieren.
doch als ich make menuconfig eingebe kommt mir eine sinnflut von fehlermeldungen entgegen.
Was mache ich falsche und was kann man daggege tun?
Edit: Hatt sich erledigt. musste nur das paket libncurses5-dev installieren
Code:
debian:/usr/src/linux# make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
In Datei, eingefügt von scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: curses.h: Datei oder Verzeichnis nicht gefunden
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: Syntaxfehler before "chtype"
scripts/kconfig/lxdialog/dialog.h:97: Warnung: kein Semikolon am Ende von »struc t« oder »union«
scripts/kconfig/lxdialog/dialog.h:101: error: Syntaxfehler before '}' token
scripts/kconfig/lxdialog/dialog.h:105: error: field `screen' has incomplete type
scripts/kconfig/lxdialog/dialog.h:106: error: field `shadow' has incomplete type
scripts/kconfig/lxdialog/dialog.h:107: error: field `dialog' has incomplete type
scripts/kconfig/lxdialog/dialog.h:108: error: field `title' has incomplete type
scripts/kconfig/lxdialog/dialog.h:109: error: field `border' has incomplete type
scripts/kconfig/lxdialog/dialog.h:110: error: field `button_active' has incomple te type
scripts/kconfig/lxdialog/dialog.h:111: error: field `button_inactive' has incomp lete type
scripts/kconfig/lxdialog/dialog.h:112: error: field `button_key_active' has inco mplete type
scripts/kconfig/lxdialog/dialog.h:113: error: field `button_key_inactive' has in complete type
scripts/kconfig/lxdialog/dialog.h:114: error: field `button_label_active' has in complete type
scripts/kconfig/lxdialog/dialog.h:115: error: field `button_label_inactive' has incomplete type
scripts/kconfig/lxdialog/dialog.h:116: error: field `inputbox' has incomplete ty pe
scripts/kconfig/lxdialog/dialog.h:117: error: field `inputbox_border' has incomp lete type
scripts/kconfig/lxdialog/dialog.h:118: error: field `searchbox' has incomplete t ype
scripts/kconfig/lxdialog/dialog.h:119: error: field `sea[/B]rchbox_title' has incomp lete type
scripts/kconfig/lxdialog/dialog.h:120: error: field `searchbox_border' has incom plete type
scripts/kconfig/lxdialog/dialog.h:121: error: field `position_indicator' has inc omplete type
scripts/kconfig/lxdialog/dialog.h:122: error: field `menubox' has incomplete typ e
scripts/kconfig/lxdialog/dialog.h:123: error: field `menubox_border' has incompl ete type
scripts/kconfig/lxdialog/dialog.h:124: error: field `item' has incomplete type
scripts/kconfig/lxdialog/dialog.h:125: error: field `item_selected' has incomple te type
scripts/kconfig/lxdialog/dialog.h:126: error: field `tag' has incomplete type
scripts/kconfig/lxdialog/dialog.h:127: error: field `tag_selected' has incomplet e type
scripts/kconfig/lxdialog/dialog.h:128: error: field `tag_key' has incomplete typ e
scripts/kconfig/lxdialog/dialog.h:129: error: field `tag_key_selected' has incom plete type
scripts/kconfig/lxdialog/dialog.h:130: error: field `check' has incomplete type
scripts/kconfig/lxdialog/dialog.h:131: error: field `check_selected' has incompl ete type
scripts/kconfig/lxdialog/dialog.h:132: error: field `uarrow' has incomplete type
scripts/kconfig/lxdialog/dialog.h:133: error: field `darrow' has incomplete type
scripts/kconfig/lxdialog/dialog.h:187: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:187: Warnung: function declaration isn't a pro totype
scripts/kconfig/lxdialog/dialog.h:193: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:193: Warnung: function declaration isn't a pro totype
scripts/kconfig/lxdialog/dialog.h:195: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:195: Warnung: function declaration isn't a pro totype
scripts/kconfig/lxdialog/dialog.h:196: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:196: Warnung: function declaration isn't a pro totype
scripts/kconfig/lxdialog/dialog.h:197: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:197: Warnung: function declaration isn't a pro totype
scripts/kconfig/lxdialog/dialog.h:198: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:199: Warnung: function declaration isn't a pro totype
scripts/kconfig/lxdialog/dialog.h:200: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:200: Warnung: function declaration isn't a pro totype
scripts/kconfig/lxdialog/checklist.c:31: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/checklist.c:32: Warnung: function declaration isn't a p rototype
scripts/kconfig/lxdialog/checklist.c: In Funktion »print_item«:
scripts/kconfig/lxdialog/checklist.c:36: Warnung: implicit declaration of functi on `wattrset'
scripts/kconfig/lxdialog/checklist.c:36: error: `win' undeclared (first use in t his function)
scripts/kconfig/lxdialog/checklist.c:36: error: (Each undeclared identifier is r eported only once
scripts/kconfig/lxdialog/checklist.c:36: error: for each function it appears in. )
scripts/kconfig/lxdialog/checklist.c:37: Warnung: implicit declaration of functi on `wmove'
scripts/kconfig/lxdialog/checklist.c:37: error: `choice' undeclared (first use i n this function)
scripts/kconfig/lxdialog/checklist.c:39: Warnung: implicit declaration of functi on `waddch'
scripts/kconfig/lxdialog/checklist.c:42: error: `selected' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:44: Warnung: implicit declaration of functi on `wprintw'
scripts/kconfig/lxdialog/checklist.c:47: Warnung: implicit declaration of functi on `mvwaddch'
scripts/kconfig/lxdialog/checklist.c:49: Warnung: implicit declaration of functi on `waddstr'
scripts/kconfig/lxdialog/checklist.c:52: Warnung: implicit declaration of functi on `wrefresh'
scripts/kconfig/lxdialog/checklist.c: Auf höchster Ebene:
scripts/kconfig/lxdialog/checklist.c:59: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/checklist.c:61: Warnung: function declaration isn't a p rototype
scripts/kconfig/lxdialog/checklist.c: In Funktion »print_arrows«:
scripts/kconfig/lxdialog/checklist.c:62: error: `win' undeclared (first use in t his function)
scripts/kconfig/lxdialog/checklist.c:62: error: `y' undeclared (first use in thi s function)
scripts/kconfig/lxdialog/checklist.c:62: error: `x' undeclared (first use in thi s function)
scripts/kconfig/lxdialog/checklist.c:64: error: `scroll' undeclared (first use i n this function)
scripts/kconfig/lxdialog/checklist.c:76: error: `height' undeclared (first use i n 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 i n this function)
scripts/kconfig/lxdialog/checklist.c: Auf höchster Ebene:
scripts/kconfig/lxdialog/checklist.c:95: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/checklist.c:96: Warnung: function declaration isn't a p rototype
scripts/kconfig/lxdialog/checklist.c: In Funktion »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 i n 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 us e in this function)
scripts/kconfig/lxdialog/checklist.c: In Funktion »dialog_checklist«:
scripts/kconfig/lxdialog/checklist.c:116: error: `WINDOW' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: `dialog' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: `list' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: Warnung: left-hand operand of comma ex pression has no effect
scripts/kconfig/lxdialog/checklist.c:129: Warnung: implicit declaration of funct ion `getmaxy'
scripts/kconfig/lxdialog/checklist.c:129: error: `stdscr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:130: error: `KEY_MAX' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:131: Warnung: implicit declaration of funct ion `getmaxx'
scripts/kconfig/lxdialog/checklist.c:137: error: `COLS' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:138: error: `LINES' undeclared (first use i n this function)
scripts/kconfig/lxdialog/checklist.c:142: Warnung: implicit declaration of funct ion `newwin'
scripts/kconfig/lxdialog/checklist.c:143: Warnung: implicit declaration of funct ion `keypad'
scripts/kconfig/lxdialog/checklist.c:143: error: `TRUE' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:164: Warnung: implicit declaration of funct ion `subwin'
scripts/kconfig/lxdialog/checklist.c:197: Warnung: implicit declaration of funct ion `wnoutrefresh'
scripts/kconfig/lxdialog/checklist.c:199: Warnung: implicit declaration of funct ion `doupdate'
scripts/kconfig/lxdialog/checklist.c:202: Warnung: implicit declaration of funct ion `wgetch'
scripts/kconfig/lxdialog/checklist.c:210: error: `KEY_UP' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:210: error: `KEY_DOWN' undeclared (first us e in this function)
scripts/kconfig/lxdialog/checklist.c:220: error: `FALSE' undeclared (first use i n this function)
scripts/kconfig/lxdialog/checklist.c:221: Warnung: implicit declaration of funct ion `scrollok'
scripts/kconfig/lxdialog/checklist.c:222: Warnung: implicit declaration of funct ion `wscrl'
scripts/kconfig/lxdialog/checklist.c:293: Warnung: implicit declaration of funct ion `delwin'
scripts/kconfig/lxdialog/checklist.c:297: error: `KEY_LEFT' undeclared (first us e in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: `KEY_RIGHT' undeclared (first u se in this function)
scripts/kconfig/lxdialog/checklist.c:312: error: `KEY_RESIZE' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Fehler 1
make: *** [menuconfig] Fehler 2
debian:/usr/src/linux#
Zuletzt bearbeitet von einem Moderator: