Image

Imageblindgeek wrote in Imagelinux

Hi all. I got Grsecurity going not too long ago, and so far its working good. However, I can't seem to compile Paxctl. Whenever I run make I get: gcc -c -Wall -W -fPIC -o paxctl.o paxctl.c
paxctl.c: In function `elf32_modify_phdr':
paxctl.c:75: error: `PT_GNU_STACK' undeclared (first use in this function)
paxctl.c:75: error: (Each undeclared identifier is reported only once
paxctl.c:75: error: for each function it appears in.)
paxctl.c: In function `elf64_modify_phdr':
paxctl.c:127: error: `PT_GNU_STACK' undeclared (first use in this function)
make: *** [paxctl.o] Error 1

Anyone out there perhaps with a Grsecurity installation on kernel 2.6.11.7 know how to fix this code, or rather the compile problem? Thanks!