Page 1 of 1

Error while compiling 2.6.17.3 and PAX only

PostPosted: Tue Jul 04, 2006 7:27 pm
by squit
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
fs/built-in.o(.text+0x2a68d): In function `load_elf_binary':
: undefined reference to `pax_set_initial_flags'
make: *** [.tmp_vmlinux1] Error 1

There is a possibility that this error happened because I had unpatch the kernel from the grsecurity-2.1.9-2.6.17.3-200607040032.patch ? :oops:

patch -R -p1 <../grsecurity-2.1.9-2.6.17.3-200607040032.patch

ps: Sorry for the terrible English :cry:

PostPosted: Wed Jul 05, 2006 11:06 am
by favoretti
This looks strangely similar to what I got when I had GRsecurity enabled too.. if grsec is disabled, you can't check many PaX options as far as I understand... You sure you have GRSEC* options off?

PostPosted: Wed Jul 05, 2006 12:10 pm
by squit
Sorry, maybe I wasn't too specific.

I had GR and PAX enabled, but, because of the GR bug (test version 2.6.17.3) I had to unpatch the kernel source (patch -R -p1 <../patch.grsec...), then, without remove the .config or even do make mrproper I patched the kernel again, only with PAX test3 (patch -p1 <../pax-patch-test3...).
When I did make, this problem showed up.

In the end, I know it's probably my fault :/ Sorry for the stupid post :oops:

I'm recompiling the kernel with PAX again. :lol: