Error compiling uvesafb.c test patch for 2.626

Discuss and suggest new grsecurity features

Error compiling uvesafb.c test patch for 2.626

Postby daponz » Tue Jul 29, 2008 6:15 am

Hi everyone,

I tried to compile a 2.626 kernel patched with grsec testpatch 2.1.12-2.6.26-200807271420. I had a few errors I could handle at compiling but I get this error which is more problematic:
Code: Select all
CC [M]  drivers/video/uvesafb.o
drivers/video/uvesafb.c: In function ‘uvesafb_vbe_getpmi’:
drivers/video/uvesafb.c:594: error: ‘pmi_code’ undeclared (first use in this function)
drivers/video/uvesafb.c:594: error: (Each undeclared identifier is reported only once
drivers/video/uvesafb.c:594: error: for each function it appears in.)
make[3]: *** [drivers/video/uvesafb.o] Error 1
make[2]: *** [drivers/video] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26-grsec'
make: *** [debian/stamp-build-kernel] Error 2


It seems that the pacth modifies the vesa framebuffer, but I'm not sure since I quit new at kernel compiling.
Looking at line 594 of uvesafb.c I saw a mention of PAX a few lines above.
Do you know if that error il due to PAX pactching ? Is there a way to fix this problem.

Thanks in advance
daponz
 
Posts: 1
Joined: Tue Jul 29, 2008 6:02 am

Re: Error compiling uvesafb.c test patch for 2.626

Postby PaX Team » Tue Jul 29, 2008 11:18 am

daponz wrote:Looking at line 594 of uvesafb.c I saw a mention of PAX a few lines above.
Do you know if that error il due to PAX pactching ? Is there a way to fix this problem.
thanks for the report, -test7 should fix it properly along with some other problems.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity development