On Thu, 2012-03-29 at 00:01 -0700, gopi bhimavarapu wrote:
> Hi
>
> I need to recompile the iptables userspace program using the include
> files of my kernel. (which has specific improvements in ipt_entry structure).
> I am using iptables-1.4.12.2 and ussing --with-ksource option and giving my
> kernels include directory.
> Even then, ipt_entry sturcture of iptables-1.4.12.2/include is getting precedence.
> How can I force it to take my include files.
(We're now at iptables-1.4.13.)
When you installed the kernel with 'make modules_install && make
install' (or something like that), the modules are installed
in /lib/modules/`uname -r`. That directory holds symlinks to the kernel
source: build and source (at least, here is does). After you reboot
using the new kernel, iptables configure will find the kernel source by
itself, without specifying --with-ksource.
If you booted the new kernel, just run ./configure and see what happens.
If it doesn't work, then look for configure options to make it work.
Besides, if you checked ./configure --help, it says that --with-ksource
should point to '/lib/modules/CURRENT/source', not
'/lib/modules/CURRENT/source/include' which is what you seem to have
done.
--
Rob
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Netfilter Development]
[Linux Kernel Networking Development]
[Linux Networking Development]
[Linux Kernel Development]
[Linux Resources]
[LARTC]
[Bugtraq]
[Consulting]
[Free Internet Dating]
[Yosemite Forum]
[Photo]