Re: Building iptables from source with kernel source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2012-07-30 13:01, Arif Hossain wrote:

>Hi,
>
>I'm trying to build iptables from git tree.
>
>The extension i've written resides in extensions/libxt_mymatch.c
>
>Now the header is in
><kernel_source>/include/linux/netfilter/xt_mymatch.h

iptables is independent of any particular kernel tree. Copy (or
symlink) your file into <iptables>/include/linux/netfilter, that is
easiest.

>
>But when i'm trying to build iptables, its not finding xt_mymatch.h.
>
>I've tried these configure options
>
>$./configure --with-ksource=<kernel_source_path>
>and
>$./configure --with-ksource=<kernel_source_path>/include
>
>But both failed.

That is too unspecified to derive any cause.
(Also note that ksource uses the source dir, not the include dir.)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux