Error while compiling 2.6.17.3 and PAX only

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

Error while compiling 2.6.17.3 and PAX only

Postby squit » Tue Jul 04, 2006 7:27 pm

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:
squit
 
Posts: 7
Joined: Tue Jul 04, 2006 7:20 pm

Postby favoretti » Wed Jul 05, 2006 11:06 am

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?
favoretti
 
Posts: 11
Joined: Mon Jul 03, 2006 8:27 am

Postby squit » Wed Jul 05, 2006 12:10 pm

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:
squit
 
Posts: 7
Joined: Tue Jul 04, 2006 7:20 pm


Return to grsecurity support