Kernel 2.6.21.1-grsec problems

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Kernel 2.6.21.1-grsec problems

Postby Duplex » Tue May 15, 2007 12:18 pm

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 :)
Duplex
 
Posts: 2
Joined: Tue May 15, 2007 12:07 pm

Postby Duplex » Tue May 15, 2007 12:28 pm

problem solved :) thx for nice grsecurity patch guys!
Duplex
 
Posts: 2
Joined: Tue May 15, 2007 12:07 pm

Postby PaX Team » Wed May 16, 2007 4:31 pm

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.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Postby harrygittens » Wed May 16, 2007 5:19 pm

i had this

i removed option to compile philips web cam driver
harrygittens
 
Posts: 21
Joined: Fri Feb 16, 2007 2:20 pm


Return to grsecurity support