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

kernel 2.6 compile error


i am using debian sid using kernel 2.6.11. i want to build the custom
compile using make-kpkg.

here is the command that is used to do so...

sargebox:/usr/src/kernel-source-2.6.11# fakeroot make-kpkg
--revision=custom.2.0 kernel_image
i cannot proceed at many points.. here are some of the errors


drivers/char/generic_serial.c:876: warning: 'cli' is deprecated
(declared at include/linux/interrupt.h:65)
drivers/char/generic_serial.c:888: warning: 'restore_flags' is
deprecated (declared at include/linux/interrupt.h:78)
make[3]: *** [drivers/char/generic_serial.o] Error 1
make[2]: *** [drivers/char] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.11'
make: *** [stamp-build] Error 2


rather than that. the other errors are realted to

kallsysm error.
isicom error and more

are they related to gcc and g++ or make/automake?

here are the gcc,g++,make and automake packages i am using..

gcc (GCC) 4.0.1 (Debian 4.0.1-2)
g++ (GCC) 4.0.1 (Debian 4.0.1-2)
GNU Make 3.80
automake (GNU automake) 1.4-p6

how do i solve the problem and build successfully.


Reply to: