chpax compile

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

chpax compile

Postby ciphin » Fri Jul 04, 2003 3:52 pm

Could someone shed some light on the following error when attempting to compile chpax:

root@ciphin [~]# make
gcc -Wall -W -g3 -c -o chpax.o chpax.c
In file included from /usr/include/linux/elf.h:4,
from chpax.h:13,
from chpax.c:15:
/usr/include/linux/types.h:104: parse error before `__kernel_daddr_t'
/usr/include/linux/types.h:104: warning: no semicolon at end of struct or union
/usr/include/linux/types.h:105: warning: data definition has no type or storage class
/usr/include/linux/types.h:108: parse error before `}'
make: *** [chpax.o] Error 1
ciphin
 
Posts: 2
Joined: Fri Jul 04, 2003 3:50 pm

Re: chpax compile

Postby PaX Team » Sat Jul 05, 2003 10:13 am

ciphin wrote:Could someone shed some light on the following error when attempting to compile chpax:
/usr/include/linux is probably a symlink to the kernel include directory, read http://www.linuxgazette.com/issue62/tag/4.html for more information.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: chpax compile

Postby ciphin » Sat Jul 05, 2003 10:31 am

PaX Team wrote:
ciphin wrote:Could someone shed some light on the following error when attempting to compile chpax:
/usr/include/linux is probably a symlink to the kernel include directory, read http://www.linuxgazette.com/issue62/tag/4.html for more information.
In my case /usr/include/linux is not symlinked anywhere. Is there something else I should look at?
ciphin
 
Posts: 2
Joined: Fri Jul 04, 2003 3:50 pm


Return to grsecurity support