Page 1 of 1

grsecurity-2.1.7-2.6.13.2 compile error.

PostPosted: Wed Oct 05, 2005 1:36 pm
by DjSlash
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)

PostPosted: Wed Oct 05, 2005 6:14 pm
by spender
# 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

PostPosted: Thu Oct 06, 2005 6:44 am
by DjSlash
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