i just tried to compile a linux 2.4.21 kernel patched with grsecurity.
I downloaded the grsecurity-1.9.11-2.4.21.patch and applied it to my new kernel source.
when i tried to compile it with "time make dep clean bzImage modules modules_install" i got this error:
- Code: Select all
In file included from poly_atan.c:19:
poly.h:78:17: missing terminating " character
In file included from poly_atan.c:19:
poly.h: In function `add_Xsig_Xsig':
poly.h:79: error: syntax error before "movl"
poly.h:79: error: `addl' undeclared (first use in this function)
poly.h:79: error: (Each undeclared identifier is reported only once
poly.h:79: error: for each function it appears in.)
poly.h:79: error: syntax error before '%' token
poly.h:80: error: `movl' undeclared (first use in this function)
poly.h:80: error: `adcl' undeclared (first use in this function)
poly.h:80: error: syntax error before '%' token
poly.h:81: error: syntax error before '%' token
poly.h:81:59: missing terminating " character
poly.h:93:17: missing terminating " character
poly.h: In function `add_two_Xsig':
poly.h:94: error: syntax error before "movl"
poly.h:94: error: `addl' undeclared (first use in this function)
poly.h:94: error: syntax error before '%' token
poly.h:95: error: `movl' undeclared (first use in this function)
poly.h:95: error: `adcl' undeclared (first use in this function)
poly.h:95: error: syntax error before '%' token
poly.h:96: error: syntax error before '%' token
poly.h:97:22: invalid suffix "f" on integer constant
poly.h:97: error: `jnc' undeclared (first use in this function)
poly.h:98: error: `rcrl' undeclared (first use in this function)
poly.h:98: error: `rcrl' used prior to declaration
poly.h:98: warning: implicit declaration of function `rcrl'
poly.h:98: error: syntax error before '%' token
poly.h:99: warning: implicit declaration of function `incl'
poly.h:99: error: syntax error before '%' token
poly.h:100:37: invalid suffix "f" on integer constant
poly.h:100: error: `jmp' undeclared (first use in this function)
poly.h:102:20: missing terminating " character
make[2]: *** [poly_atan.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/math-emu'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/math-emu'
make: *** [_dir_arch/i386/math-emu] Error 2
Thanks in advance,
Markus