make[1]: Leaving directory `/usr/src/linux-2.6.22'
/usr/bin/make EXTRAVERSION=-ck1-custom ARCH=i386 prepare
make[1]: Entering directory `/usr/src/linux-2.6.22'
scripts/kconfig/conf -s arch/i386/Kconfig
net/ipv4/netfilter/Kconfig:372:warning: leading whitespace ignored
make[1]: Leaving directory `/usr/src/linux-2.6.22'
make[1]: Entering directory `/usr/src/linux-2.6.22'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC arch/i386/kernel/asm-offsets.s
In file included from arch/i386/kernel/asm-offsets.c:8:
include/linux/sched.h:1306:1: warning: "MAX_PRIO" redefined
include/linux/sched.h:698:1: warning: this is the location of the previous definition
In file included from arch/i386/kernel/asm-offsets.c:8:
include/linux/sched.h:1309: error: expected declaration specifiers or ‘...’ before ‘!’ token
include/linux/sched.h:1309: error: expected declaration specifiers or ‘...’ before numeric constant
include/linux/sched.h:1310: warning: conflicting types for built-in function ‘__builtin_expect’
include/linux/sched.h: In function ‘__builtin_expect’:
include/linux/sched.h:1311: error: ‘prio’ undeclared (first use in this function)
include/linux/sched.h:1311: error: (Each undeclared identifier is reported only once
include/linux/sched.h:1311: error: for each function it appears in.)
include/linux/sched.h: At top level:
include/linux/sched.h:1316: error: expected declaration specifiers or ‘...’ before ‘!’ token
include/linux/sched.h:1316: error: expected declaration specifiers or ‘...’ before numeric constant
include/linux/sched.h:1317: warning: function declaration isn’t a prototype
include/linux/sched.h:1317: error: redefinition of ‘__builtin_expect’
include/linux/sched.h:1310: error: previous definition of ‘__builtin_expect’ was here
include/linux/sched.h: In function ‘__builtin_expect’:
include/linux/sched.h:1318: error: ‘p’ undeclared (first use in this function)
include/linux/sched.h: In function ‘softirq_need_resched’:
include/linux/sched.h:1938: error: ‘PF_SOFTIRQ’ undeclared (first use in this function)
include/linux/sched.h: In function ‘hardirq_need_resched’:
include/linux/sched.h:1945: error: ‘PF_HARDIRQ’ undeclared (first use in this function)
make[2]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22'
make: *** [debian/stamp-kernel-conf] Error 2
Stavo compilando un kernel che prometteva di essere perfetto, ma a quanto pare, troppo, dato che non compila, e non capisco perchè. Ho fatto tutto come sempre, solo che l'ho patchato. Le patch sono andate tutte a buon fine... Non capisco l'errore...