Page 1 of 1

Kernel 2.6.21.1-grsec problems

PostPosted: Tue May 15, 2007 12:18 pm
by Duplex
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 :)

PostPosted: Tue May 15, 2007 12:28 pm
by Duplex
problem solved :) thx for nice grsecurity patch guys!

PostPosted: Wed May 16, 2007 4:31 pm
by PaX Team
Duplex wrote:problem solved :) thx for nice grsecurity patch guys!
how did you solve it? there's actually a missing #include from pda.h that manifests in your case.

PostPosted: Wed May 16, 2007 5:19 pm
by harrygittens
i had this

i removed option to compile philips web cam driver