Fehler bei Kernel Kompilierung

Software besorgen und anwenden
Post Reply
Message
Author
Tobi1987
Posts: 14
Joined: 31. Jul 2007 8:53

Fehler bei Kernel Kompilierung

#1 Post by Tobi1987 »

hallo,
ich hab mir mal den neuen linux kernel 2.6.22.5 gelanden und bei mir in das verzeichnis /usr/src gepackt. wenn ich dann versuche über

Code: Select all

make menuconfig
den kernel vorzukonfigurieren, dann bricht das skript mit dem fehler 1 und fehler 2 ab.

in den meldungen steht auch, dass das script die funktionen "key_right", "key_left", "key_up" usw. nocht kennt.
brauch ich noch irgend eine lib?

kann mir jemand helfen??
mfg

Tobi1987
Posts: 14
Joined: 31. Jul 2007 8:53

#2 Post by Tobi1987 »

hallo,
und so sieht die original ausgabe aus:

Code: Select all

  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 »struct« 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 incomplete type
scripts/kconfig/lxdialog/dialog.h:111: error: field `button_inactive' has incomplete type
scripts/kconfig/lxdialog/dialog.h:112: error: field `button_key_active' has incomplete type
scripts/kconfig/lxdialog/dialog.h:113: error: field `button_key_inactive' has incomplete type
scripts/kconfig/lxdialog/dialog.h:114: error: field `button_label_active' has incomplete 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 type
scripts/kconfig/lxdialog/dialog.h:117: error: field `inputbox_border' has incomplete type
scripts/kconfig/lxdialog/dialog.h:118: error: field `searchbox' has incomplete type
scripts/kconfig/lxdialog/dialog.h:119: error: field `searchbox_title' has incomplete type
scripts/kconfig/lxdialog/dialog.h:120: error: field `searchbox_border' has incomplete type
scripts/kconfig/lxdialog/dialog.h:121: error: field `position_indicator' has incomplete type
scripts/kconfig/lxdialog/dialog.h:122: error: field `menubox' has incomplete type
scripts/kconfig/lxdialog/dialog.h:123: error: field `menubox_border' has incomplete type
scripts/kconfig/lxdialog/dialog.h:124: error: field `item' has incomplete type
scripts/kconfig/lxdialog/dialog.h:125: error: field `item_selected' has incomplete type
scripts/kconfig/lxdialog/dialog.h:126: error: field `tag' has incomplete type
scripts/kconfig/lxdialog/dialog.h:127: error: field `tag_selected' has incomplete type
scripts/kconfig/lxdialog/dialog.h:128: error: field `tag_key' has incomplete type
scripts/kconfig/lxdialog/dialog.h:129: error: field `tag_key_selected' has incomplete type
scripts/kconfig/lxdialog/dialog.h:130: error: field `check' has incomplete type
scripts/kconfig/lxdialog/dialog.h:131: error: field `check_selected' has incomplete 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 prototype
scripts/kconfig/lxdialog/dialog.h:194: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:194: Warnung: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:196: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:196: Warnung: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:197: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:197: Warnung: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:198: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:198: Warnung: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:199: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:200: Warnung: function declaration isn't a prototype
scripts/kconfig/lxdialog/dialog.h:201: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/dialog.h:201: Warnung: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c:31: error: Syntaxfehler before '*' token
scripts/kconfig/lxdialog/checklist.c:32: Warnung: function declaration isn't a prototype
scripts/kconfig/lxdialog/checklist.c: In Funktion »print_item«:
scripts/kconfig/lxdialog/checklist.c:36: Warnung: implicit declaration of function `wattrset'
scripts/kconfig/lxdialog/checklist.c:36: error: `win' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:36: error: (Each undeclared identifier is reported 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 function `wmove'
scripts/kconfig/lxdialog/checklist.c:37: error: `choice' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:39: Warnung: implicit declaration of function `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 function `wprintw'
scripts/kconfig/lxdialog/checklist.c:47: Warnung: implicit declaration of function `mvwaddch'
scripts/kconfig/lxdialog/checklist.c:49: Warnung: implicit declaration of function `waddstr'
scripts/kconfig/lxdialog/checklist.c:52: Warnung: implicit declaration of function `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 prototype
scripts/kconfig/lxdialog/checklist.c: In Funktion »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: 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 prototype
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 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 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 expression has no effect
scripts/kconfig/lxdialog/checklist.c:129: Warnung: implicit declaration of function `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 function `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 in this function)
scripts/kconfig/lxdialog/checklist.c:142: Warnung: implicit declaration of function `newwin'
scripts/kconfig/lxdialog/checklist.c:143: Warnung: implicit declaration of function `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 function `subwin'
scripts/kconfig/lxdialog/checklist.c:197: Warnung: implicit declaration of function `wnoutrefresh'
scripts/kconfig/lxdialog/checklist.c:199: Warnung: implicit declaration of function `doupdate'
scripts/kconfig/lxdialog/checklist.c:202: Warnung: implicit declaration of function `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 use in this function)
scripts/kconfig/lxdialog/checklist.c:220: error: `FALSE' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: Warnung: implicit declaration of function `scrollok'
scripts/kconfig/lxdialog/checklist.c:222: Warnung: implicit declaration of function `wscrl'
scripts/kconfig/lxdialog/checklist.c:293: Warnung: implicit declaration of function `delwin'
scripts/kconfig/lxdialog/checklist.c:297: error: `KEY_LEFT' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: `KEY_RIGHT' undeclared (first use 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
hoffe, damit kann jemand etwas anfangen...

mfg

User avatar
Janka
Posts: 3585
Joined: 11. Feb 2006 19:10

#3 Post by Janka »

Um den Kernel mit menuconfig zu konfigurieren, brauchst du das Paket ncurses-devel.

Janka
Ich vertonne Spam immer in /dev/dsp statt /dev/null.
Ich mag die Schreie.

Tobi1987
Posts: 14
Joined: 31. Jul 2007 8:53

#4 Post by Tobi1987 »

thx

Post Reply