grsecurity-2.1.7-2.6.13.2 compile error.

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

grsecurity-2.1.7-2.6.13.2 compile error.

Postby DjSlash » Wed Oct 05, 2005 1:36 pm

linux-2.6.13.2 patched with grsecurity-2.1.7-2.6.13.2-200509302129.patch gives me the following:

Code: Select all
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
grsecurity/built-in.o: In function `gr_handle_sysctl':
: undefined reference to `proc_sys_root'
grsecurity/built-in.o: In function `gr_handle_sysctl':
: undefined reference to `proc_sys_root'
grsecurity/built-in.o: In function `gr_handle_sysctl':
: undefined reference to `proc_sys_root'
grsecurity/built-in.o: In function `gr_handle_sysctl':
: undefined reference to `proc_sys_root'
make: *** [.tmp_vmlinux1] Error 1


Kernel config: http://www.djslash.org/kernel-config.txt

Edit: grsecurity-2.1.6-2.6.11.12-200506141713.patch gives me the same. (with the 2.6.11.12 kernel of course)
DjSlash
 
Posts: 2
Joined: Wed Oct 05, 2005 1:32 pm

Postby spender » Wed Oct 05, 2005 6:14 pm

# CONFIG_PROC_FS is not set

For now, just enable procfs. I'll remove dependence upon procfs in the next release (since this affects 2.4 as well).

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

Postby DjSlash » Thu Oct 06, 2005 6:44 am

Indeed, I forgot to set CONFIG_PROC_FS, stupidly enough. I found that out when I compiled the kernel without grsec. Didn't get in mind that it could effect grsec too. It now runs fine. Thanks for the heads up.

</humiliating thread> :P
DjSlash
 
Posts: 2
Joined: Wed Oct 05, 2005 1:32 pm


Return to grsecurity support