[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

errore compilazione k. 2.2.19 per laptop toshiba



Un saluto balneare a tutti!

Sto cercando da due giorni di compilare il kernel sul portatile, Toshiba
Satellite 110 CS, ma ottengo questo errore, che non so come superare:

cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O3
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-mpreferred-stack-boundary=2 -mpentium -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586   -c -o toshiba.o toshiba.c
toshiba.c:93: parse error before string constant
toshiba.c:93: warning: type defaults to `int' in declaration of
`MODULE_PARM'
toshiba.c:93: warning: function declaration isn't a prototype
toshiba.c:93: warning: data definition has no type or storage class
toshiba.c: In function `tosh_open':
toshiba.c:286: `MOD_INC_USE_COUNT' undeclared (first use in this
function)
toshiba.c:286: (Each undeclared identifier is reported only once
toshiba.c:286: for each function it appears in.)
toshiba.c: In function `tosh_release':
toshiba.c:294: `MOD_DEC_USE_COUNT' undeclared (first use in this
function)
make[4]: *** [toshiba.o] Error 1
make[4]: Leaving directory `/usr/src/kernel-source-2.2.19/drivers/char'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.2.19/drivers/char'
make[2]: *** [_subdir_char] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.2.19/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.2.19'
make: *** [stamp-build] Error 2


E qui si ferma: c'è nessuno che abbia qualche idea?

Grazie
Giuliano




Reply to: