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

Ciao a tutti. Ho installato da poco mandrake 10.0 con la versione del 
kernel 2.6.3. Con questa versione del kernel non posso usare il mio 
modem USB (ipmdatacom speedweb) che funziona solo con la versione 2.4.8.
Ho scaricato il kernel 2.4.8, l'ho scompresso, e ho dato un'occhiata 
alla configurazione (make menuconfig) ma in definitiva non ho cambiato 
nulla e fatto anche make dep. Fin qui tutto ok. Quando vado a fare make 
bzImage per creare l'immagine del boot, mi da una serie di errori che 
riporto qua sotto. Qualcuno mi sa dare una mano?
Grazie infinite
Rob
Ecco gli errori:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c
In file included from /usr/src/linux/include/net/checksum.h:33,
from /usr/src/linux/include/linux/raid/md.h:34,
from init/main.c:24:
/usr/src/linux/include/asm/checksum.h:72:30: missing terminating " character
In file included from /usr/src/linux/include/net/checksum.h:33,
from /usr/src/linux/include/linux/raid/md.h:34,
from init/main.c:24:
/usr/src/linux/include/asm/checksum.h: In function `ip_fast_csum':
/usr/src/linux/include/asm/checksum.h:73: error: parse error before "movl"
/usr/src/linux/include/asm/checksum.h:75:17: invalid suffix "f" on 
integer constant
/usr/src/linux/include/asm/checksum.h:82:17: invalid suffix "b" on 
integer constant
/usr/src/linux/include/asm/checksum.h:90:13: missing terminating " character
/usr/src/linux/include/asm/checksum.h:105:17: missing terminating " 
character
/usr/src/linux/include/asm/checksum.h: In function `csum_fold':
/usr/src/linux/include/asm/checksum.h:106: error: parse error before "addl"
/usr/src/linux/include/asm/checksum.h:108:17: missing terminating " 
character
/usr/src/linux/include/asm/checksum.h:121:13: missing terminating " 
character
/usr/src/linux/include/asm/checksum.h: In function `csum_tcpudp_nofold':
/usr/src/linux/include/asm/checksum.h:122: error: parse error before "addl"
/usr/src/linux/include/asm/checksum.h:126:9: missing terminating " character
/usr/src/linux/include/asm/checksum.h:128: error: `__x' undeclared 
(first use in this function)
/usr/src/linux/include/asm/checksum.h:128: error: (Each undeclared 
identifier is reported only once
/usr/src/linux/include/asm/checksum.h:128: error: for each function it 
appears in.)
/usr/src/linux/include/asm/checksum.h: At top level:
/usr/src/linux/include/asm/checksum.h:128: error: parse error before ')' 
token
/usr/src/linux/include/asm/checksum.h:161:17: missing terminating " 
character
/usr/src/linux/include/asm/checksum.h: In function `csum_ipv6_magic':
/usr/src/linux/include/asm/checksum.h:162: error: parse error before "addl"
/usr/src/linux/include/asm/checksum.h:173:17: missing terminating " 
character
/usr/src/linux/include/asm/checksum.h:176: error: `__x' undeclared 
(first use in this function)
/usr/src/linux/include/asm/checksum.h:176: warning: no return statement 
in function returning non-void
/usr/src/linux/include/asm/checksum.h: At top level:
/usr/src/linux/include/asm/checksum.h:176: error: parse error before ')' 
token
/usr/src/linux/include/asm/checksum.h:176: error: parse error before "__u32"

 Ecco gli errori:
 > [CUT]
Di questi errori non so dirti,ma non basta "lasciare tutto com'è" e 
ricompilare...dopo aver fatto make menuconfig,bisogna passare TUTTE le 
opzioni e scegliere quelle giuste per il proprio sistema,quasi mai le 
impostazioni di default andranno bene per ogni PC (non parliamo poi se 
si ha hardware particolare...)