Newsgroup: it.comp.os.linux.iniziare
Titolo: compilazione kernel

compilando il kernel alla debian way , dopo aver dato il comando :
make-kpkg --initrd --append-to version -test kernel_image
ad un certo punto ricevo questo messaggio di errore :
kernel/sched.c: In function 'schedule':
kernel/sched.c:3401: error: 'struct rq' has no member named
'expired_timestamp'
kernel/sched.c:3407: error: 'array' undeclared (first use in this
function)
kernel/sched.c:3407: error: (Each undeclared identifier is reported
only once
kernel/sched.c:3407: error: for each function it appears in.)
kernel/sched.c:3407: error: 'struct rq' has no member named 'active'
kernel/sched.c:3413: error: 'struct rq' has no member named 'active'
kernel/sched.c:3413: error: 'struct rq' has no member named 'expired'
kernel/sched.c:3414: error: 'struct rq' has no member named 'expired'
kernel/sched.c:3415: error: 'struct rq' has no member named 'active'
kernel/sched.c:3416: error: 'struct rq' has no member named
'expired_timestamp'
kernel/sched.c:3417: error: 'struct rq' has no member named
'best_expired_prio'
kernel/sched.c:3424: warning: implicit declaration of function
'interactive_sleep'
kernel/sched.c:3424: error: 'struct task_struct' has no member named
'sleep_type'
kernel/sched.c:3429: error: 'struct task_struct' has no member named
'sleep_type'
kernel/sched.c:3429: error: 'SLEEP_INTERACTIVE' undeclared (first use
in this function)
kernel/sched.c:3430: error: 'ON_RUNQUEUE_WEIGHT' undeclared (first use
in this function)
kernel/sched.c:3432: error: 'struct task_struct' has no member named
'array'
kernel/sched.c:3433: error: 'new_prio' undeclared (first use in this
function)
kernel/sched.c:3441: error: 'struct task_struct' has no member named
'sleep_type'
kernel/sched.c:3441: error: 'SLEEP_NORMAL' undeclared (first use in
this function)
kernel/sched.c:3454: error: 'struct task_struct' has no member named
'sleep_avg'
kernel/sched.c:3454: error: 'run_time' undeclared (first use in this
function)
kernel/sched.c:3455: error: 'struct task_struct' has no member named
'sleep_avg'
kernel/sched.c:3456: error: 'struct task_struct' has no member named
'sleep_avg'
make[2]: *** [kernel/sched.o] Error 1
make[1]: *** [kernel] Error 2
sapete dirmi dove stò sbaglaindo ?
grazie.

 sapete dirmi dove stņ sbaglaindo ?
Nel non postare su I.C.O.debian e nel non fornire info sufficienti:
Che debian?
Che kernel?
Hai visto che proprio initrd ha subito sconvolgimenti, con il
rilascio della etch?
-- 
           |Save our planet!
    Ciao   |Save wildlife!
   roberto |For your E-MAIL use ONLY recycled Bytes  !!
           |roberto poggi   
rpo...@softhome.net

            |roberto poggi   
rpo...@softhome.net
La distro è Kubuntu 7.04 , ho scaricato i  sorgenti del kernel
2.6.20.7
Quali altri info ti possono servire per aiutarmi ?

 
avevi gią compilato prima?
hai provato un make-kpkg clean prima?
-- 
DrBrex
Now Debianizzato!
Linux entropia 2.6.20-nb #1 PREEMPT i686 GNU/Linux
Il blog di tutti i Debianizzati:
Do it in the Debian way! - 
http://debianway.wordpress.com

 Do it in the Debian way! -
http://debianway.wordpress.com
Si , avevo dato il comando , se ti può aiutare ho scaricato il
sorgente 2.6.20.4 ed ora questo stà funzionando