Error compiling uvesafb.c test patch for 2.626
Posted: 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:
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
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