compiling linux kernel 2.4.20 with grsec
Posted: Sat May 10, 2003 7:58 pm
Hi, I am trying to recompile 2.4.20 kernel with the grsec patch. I am having problems making the bzImage.
It gives me these errors, they aren't all the errors related to grsec because its too much for one message.
net/network.o: In function `inet_ioctl':
net/network.o(.text+0x4188a): undefined reference to `gr_is_capable'
net/network.o: In function `igmp_send_report':
net/network.o(.text+0x42b48): undefined reference to `grsec_enable_randid'
net/network.o(.text+0x42c54): undefined reference to `ip_randomid'
net/network.o: In function `ip_rt_ioctl':
net/network.o(.text+0x43638): undefined reference to `gr_is_capable'
net/network.o: In function `ipip_tunnel_xmit':
net/network.o(.text+0x48630): undefined reference to `grsec_enable_randid'
net/network.o(.text+0x486d8): undefined reference to `ip_randomid'
net/network.o: In function `ipip_tunnel_ioctl':
net/network.o(.text+0x48a88): undefined reference to `gr_is_capable'
net/network.o(.text+0x48b48): undefined reference to `gr_is_capable'
net/network.o: In function `do_ipt_set_ctl':
net/network.o(.text+0x4e518): undefined reference to `gr_is_capable'
net/network.o: In function `do_ipt_get_ctl':
net/network.o(.text+0x4e788): undefined reference to `gr_is_capable'
net/network.o: In function `unix_bind':
net/network.o(.text+0x51cd4): undefined reference to `gr_acl_handle_mknod'
net/network.o(.text+0x51d62): undefined reference to `gr_handle_create'
net/network.o: In function `unix_find_other':
net/network.o(.text+0x5413d): undefined reference to `gr_handle_chroot_unix'
net/network.o(.text+0x541f4): undefined reference to `gr_acl_handle_unix'
net/network.o: In function `packet_create':
net/network.o(.text+0x56938): undefined reference to `gr_is_capable'
net/network.o: In function `packet_ioctl':
net/network.o(.text+0x57186): undefined reference to `gr_is_capable'
init/main.o: In function `init':
init/main.o(.text+0x88): undefined reference to `grsecurity_init
Does anyone know why? I have compiled grsec before with 2.4.20 kernel many times and I have my suspicious on some of the compiler optimization options.
Does anyone know which compiler options it doesn't work with?
It gives me these errors, they aren't all the errors related to grsec because its too much for one message.
net/network.o: In function `inet_ioctl':
net/network.o(.text+0x4188a): undefined reference to `gr_is_capable'
net/network.o: In function `igmp_send_report':
net/network.o(.text+0x42b48): undefined reference to `grsec_enable_randid'
net/network.o(.text+0x42c54): undefined reference to `ip_randomid'
net/network.o: In function `ip_rt_ioctl':
net/network.o(.text+0x43638): undefined reference to `gr_is_capable'
net/network.o: In function `ipip_tunnel_xmit':
net/network.o(.text+0x48630): undefined reference to `grsec_enable_randid'
net/network.o(.text+0x486d8): undefined reference to `ip_randomid'
net/network.o: In function `ipip_tunnel_ioctl':
net/network.o(.text+0x48a88): undefined reference to `gr_is_capable'
net/network.o(.text+0x48b48): undefined reference to `gr_is_capable'
net/network.o: In function `do_ipt_set_ctl':
net/network.o(.text+0x4e518): undefined reference to `gr_is_capable'
net/network.o: In function `do_ipt_get_ctl':
net/network.o(.text+0x4e788): undefined reference to `gr_is_capable'
net/network.o: In function `unix_bind':
net/network.o(.text+0x51cd4): undefined reference to `gr_acl_handle_mknod'
net/network.o(.text+0x51d62): undefined reference to `gr_handle_create'
net/network.o: In function `unix_find_other':
net/network.o(.text+0x5413d): undefined reference to `gr_handle_chroot_unix'
net/network.o(.text+0x541f4): undefined reference to `gr_acl_handle_unix'
net/network.o: In function `packet_create':
net/network.o(.text+0x56938): undefined reference to `gr_is_capable'
net/network.o: In function `packet_ioctl':
net/network.o(.text+0x57186): undefined reference to `gr_is_capable'
init/main.o: In function `init':
init/main.o(.text+0x88): undefined reference to `grsecurity_init
Does anyone know why? I have compiled grsec before with 2.4.20 kernel many times and I have my suspicious on some of the compiler optimization options.
Does anyone know which compiler options it doesn't work with?