kernel installieren geht nicht

r.fx

Ensign
Registriert
Feb. 2004
Beiträge
152
hi erstmal,

habe seit einigen wochen mandrake 9.2 mit KDE 3.1 und dem kernel 2.4.22 installiert

nun wollte ich mir den neuen kernel 2.6.3 installieren, aber ich hänge seit fasst einer woche an der gleichen stelle, und ich finde leider keine andere hilfe zu diesem thema...

also: habe mir von cb den kernel-2.6.3.tar.bz2 gesaugt, als anleitung nehme ich diese hier von tuxhausen

also kopierte ich die datei als root in das verzeichnis /usr/src, habe sie mit bunzip2 linux-2.6.3.tar.bz2 && tar -xvf linux-2.6.3.tar entpackt, soweit so gut...........

wenn ich jetzt die konsole öffne und make config oder make xconfig oder make menuconfig eingebe, kommt immer der gleiche fehler:

HOSTCC scripts/fixdep
/bin/sh: line 1: gcc: command not found
make[1]: *** [scripts/fixdep] Fehler 127
make: *** [scripts/fixdep] Fehler 2

ich mache es genauso wie in der anleitung beschrieben, also verstehe ich nicht warum immer die fehlermeldung kommt

habe in anderen foren gelesen, dass das kernel updaten unter mandrake nur funzt, wenn mandrake ganz neu installiert ist. brachte bei mir auch keine verbesserung ich bekomme immer den gleichen fehler

gr menschi
 
Du musst den GCC installieren. Sollte auf einer der Mandrake CDs zu finden sein.
 
Zuletzt bearbeitet:
alsooo

hab gcc von cd nach installiert, jetzt schaut die fehlermeldung schonmal ein bisschen anders aus

bei make menuconfig:

make[1]: »scripts/fixdep« ist bereits aktualisiert.
HOSTCC scripts/lxdialog/checklist.o
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:29:20: curses.h: No such file or directory
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:127: error: syntax error before "use_colors"
scripts/lxdialog/dialog.h:127: warning: type defaults to `int' in declaration of
`use_colors'
scripts/lxdialog/dialog.h:127: warning: data definition has no type or storage c
lass
scripts/lxdialog/dialog.h:128: error: syntax error before "use_shadow"
scripts/lxdialog/dialog.h:128: warning: type defaults to `int' in declaration of
`use_shadow'
scripts/lxdialog/dialog.h:128: warning: data definition has no type or storage c
lass
scripts/lxdialog/dialog.h:130: error: syntax error before "attributes"
scripts/lxdialog/dialog.h:130: warning: type defaults to `int' in declaration of
`attributes'
scripts/lxdialog/dialog.h:130: warning: data definition has no type or storage c
lass
scripts/lxdialog/dialog.h:143: error: syntax error before '*' token
scripts/lxdialog/dialog.h:143: warning: function declaration isn't a prototype
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:147: error: syntax error before '*' token
scripts/lxdialog/dialog.h:147: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:148: 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/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: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: 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:272: error: called object is not a function
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)
scripts/lxdialog/checklist.c: At top level:
scripts/lxdialog/dialog.h:130: warning: array `attributes' assumed to have one e lement
make[2]: *** [scripts/lxdialog/checklist.o] Fehler 1
make[1]: *** [menuconfig] Fehler 2
make: *** [menuconfig] Fehler 2




und bei make xconfig:

make[1]: »scripts/fixdep« ist bereits aktualisiert.
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Fehler 1
make: *** [xconfig] Fehler 2




also dachte ich mir fehlt QT (was das ist weiß ich zwar nicht aber es steht da) kann bei software installieren aber nix finden das QT heißt

gr menschi
 
Für menuconfig benötigst du ncurses, für gconfig GTK2 und xconfig nutzt - wie du ja bereits erkannt hast - qt.
Das sollte alles auf den CDs sein.
 
alsoooo hab ncurses installiert, make menuconfig ging trotzdem ned (gleiche fehlermeldung wie davor, dann hab ich gtk2 und ein qt example installiert (nortmales qt fand er ned) ging immernoch kein make ...config

aber make oldconfig ging (schonmal ein anfang) also habe ich mich da durch geklickt im terminal (war recht unübersichtlich bei den meisten sachen verstand ich nur ???)

hoffe mandrake läuft noch wenn es fertig ist... wenn ned installier ich es mal neu, is au ned verkehrt

dann hab ich make 0=/home/name/build/kernel eingetippt, etz läuft seit ner halben stunde in der console in etwa sowas ab:

CC [M] fs/intermezzo/super.o
CC [M] fs/intermezzo/sysctl.o
CC [M] fs/intermezzo/upcall.o
CC [M] fs/intermezzo/vfs.o
LD [M] fs/intermezzo/intermezzo.o
LD fs/isofs/built-in.o
CC [M] fs/isofs/namei.o
CC [M] fs/isofs/inode.o
CC [M] fs/isofs/dir.o
CC [M] fs/isofs/util.o
CC [M] fs/isofs/rock.o
CC [M] fs/isofs/joliet.o
CC [M] fs/isofs/compress.o
LD [M] fs/isofs/isofs.o
LD fs/jbd/built-in.o
CC [M] fs/jbd/transaction.o
CC [M] fs/jbd/commit.o

bin gespannt was sich ergibt wenns fertig ist, bestimmt nix gutes :(

frag mich warum das bessere menuconfig oder xconfig oder gconfig nicht funzten...

gr menschi
 
Zurück
Oben