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

make-kpkg get error



Dear Debian developer:

 after I untar kernel-source-2.42.,  make xconfigure,
make-kpkg  --revision=custom.1.0  kernel_image

get such errors:

               from init/main.c:15:
/usr/src/kernel-source-2.4.2/include/asm/hw_irq.h: In function `x86_do_profile': /usr/src/kernel-source-2.4.2/include/asm/hw_irq.h:198: `current' undeclared (fir st use in this function) /usr/src/kernel-source-2.4.2/include/asm/hw_irq.h:198: (Each undeclared identifi er is reported only once /usr/src/kernel-source-2.4.2/include/asm/hw_irq.h:198: for each function it appe ars in.)
In file included from /usr/src/kernel-source-2.4.2/include/asm/string.h:296,
               from /usr/src/kernel-source-2.4.2/include/linux/string.h:21,
               from /usr/src/kernel-source-2.4.2/include/linux/fs.h:23,
from /usr/src/kernel-source-2.4.2/include/linux/capability.h:17 ,
               from /usr/src/kernel-source-2.4.2/include/linux/binfmts.h:5,
               from /usr/src/kernel-source-2.4.2/include/linux/sched.h:9,
               from /usr/src/kernel-source-2.4.2/include/linux/mm.h:4,
               from /usr/src/kernel-source-2.4.2/include/linux/slab.h:14,
               from /usr/src/kernel-source-2.4.2/include/linux/proc_fs.h:5,
               from init/main.c:15:
/usr/src/kernel-source-2.4.2/include/linux/interrupt.h: In function `raise_softi rq': /usr/src/kernel-source-2.4.2/include/linux/interrupt.h:89: `current' undeclared (first use in this function) /usr/src/kernel-source-2.4.2/include/linux/interrupt.h: In function `tasklet_sch edule': /usr/src/kernel-source-2.4.2/include/linux/interrupt.h:160: `current' undeclared (first use in this function) /usr/src/kernel-source-2.4.2/include/linux/interrupt.h: In function `tasklet_hi_ schedule': /usr/src/kernel-source-2.4.2/include/linux/interrupt.h:174: `current' undeclared (first use in this function)



need help to correct it, also my main problem is it can use cdrecord(cdrecord -scanbus work) but can not access or read or play any regular iso9660 cd on my cd-cdr-cdrw-dvd combo on /dev/hda, should I must recompile kernel, and how to choose the setting in make xconfigure?

sincere
eric



Reply to: