[grsec] compilation error in the 2.4.27 patch

Carlos Carvalho carlos at fisica.ufpr.br
Fri Sep 10 07:19:32 EDT 2004


I tried to compile 2.4.28-pre2 with the grsec 2.4.27 patch. The
patching worked fine but the compilation aborts with the following msg.:

make[2]: Entering in `linux/mm'
gcc -D__KERNEL__ -Ilinux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=memory  -c -o memory.o memory.c
memory.c:1595: error: conflicting types for 'pte_alloc_kernel'
linux/include/linux/mm.h:524: error: previous declaration of 'pte_alloc_kernel' was here
memory.c:1595: error: conflicting types for 'pte_alloc_kernel'
linux/include/linux/mm.h:524: error: previous declaration of 'pte_alloc_kernel' was here

This is with gcc 3.4.

Any suggestions?


More information about the grsecurity mailing list