Dear list,

today I tried to create a kernel-package with

make-kpkg --revision=mork.1 kernel_image

using kernel-source-2.2.19

but I got

cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-mpreferred-stack-boundary=2 -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686   -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'

Is there somebody who could explain this / help me out?

TIA

Stony

Reply via email to