Hi guys, i tried to patch an build my kernel (2.6.21.1) with latest grsecurity patch. But i have following error on building the kernel:
drivers/media/video/pwc/pwc-nala.h:61: warning: (near initialization for âNala_table[5][3].compressedâ)
drivers/media/video/pwc/pwc-nala.h:62: warning: missing initializer
drivers/media/video/pwc/pwc-nala.h:62: warning: (near initialization for âNala_table[5][4].compressedâ)
drivers/media/video/pwc/pwc-nala.h:63: warning: missing initializer
drivers/media/video/pwc/pwc-nala.h:63: warning: (near initialization for âNala_table[5][5].compressedâ)
drivers/media/video/pwc/pwc-nala.h:64: warning: missing initializer
drivers/media/video/pwc/pwc-nala.h:64: warning: (near initialization for âNala_table[5][6].compressedâ)
drivers/media/video/pwc/pwc-nala.h:65: warning: missing initializer
drivers/media/video/pwc/pwc-nala.h:65: warning: (near initialization for âNala_table[5][7].compressedâ)
CC [M] drivers/media/video/pwc/pwc-v4l.o
drivers/media/video/pwc/pwc-v4l.c: In function âpwc_video_do_ioctlâ:
drivers/media/video/pwc/pwc-v4l.c:527: warning: comparison of unsigned expression < 0 is always false
drivers/media/video/pwc/pwc-v4l.c:1109: warning: comparison of unsigned expression < 0 is always false
CC [M] drivers/media/video/pwc/pwc-uncompress.o
In file included from include/asm/current.h:4,
from drivers/media/video/pwc/pwc-uncompress.c:29:
include/asm/pda.h:21: error: âNR_CPUSâ undeclared here (not in a function)
make[5]: *** [drivers/media/video/pwc/pwc-uncompress.o] Error 1
make[4]: *** [drivers/media/video/pwc] Error 2
make[3]: *** [drivers/media/video] Error 2
make[2]: *** [drivers/media] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21.1'
make: *** [debian/stamp-build-kernel] Error 2
Please help me asap