grsecurity-2.2.2-2.6.32.53-201201062206 compile errors

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

grsecurity-2.2.2-2.6.32.53-201201062206 compile errors

Postby Undine » Sun Jan 08, 2012 4:18 am

I tried to compile linux-2.6.32.53 with grsecurity-2.2.2-2.6.32.53-201201062206 and found that it fails to build with:

fs/binfmt_elf.c: In function 'pax_parse_pax_flags':
fs/binfmt_elf.c:896:6: error: 'found_flags' undeclared (first use in this function)
fs/binfmt_elf.c:896:6: note: each undeclared identifier is reported only once for each function it appears in
fs/binfmt_elf.c:905:4: error: implicit declaration of function 'pax_parse_hardmode' [-Werror=implicit-function-declaration]
fs/binfmt_elf.c: At top level:
fs/binfmt_elf.c:561:22: warning: 'pax_parse_pt_pax_softmode' defined but not used [-Wunused-function]
fs/binfmt_elf.c:746:22: warning: 'pax_parse_xattr_pax_softmode' defined but not used [-Wunused-function]
fs/binfmt_elf.c:787:22: warning: 'pax_parse_xattr_pax_hardmode' defined but not used [-Wunused-function]
cc1: some warnings being treated as errors

make[1]: *** [fs/binfmt_elf.o] Error 1
make: *** [fs] Error 2
Undine
 
Posts: 46
Joined: Thu Sep 08, 2011 7:08 am

Re: grsecurity-2.2.2-2.6.32.53-201201062206 compile errors

Postby spender » Sun Jan 08, 2012 10:05 am

It should be fixed in the latest patch.

Thanks,
-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Re: grsecurity-2.2.2-2.6.32.53-201201062206 compile errors

Postby Undine » Sun Jan 08, 2012 2:42 pm

Thanks, compiles and boots fine.
Undine
 
Posts: 46
Joined: Thu Sep 08, 2011 7:08 am


Return to grsecurity support