Re: Patching problem

Nick Fedchik <nick-UvdXiu2sajOKBXSJ/[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
On Wednesday 30 July 2003 14:56, Jorge Lanza wrote:
> Hi. I have downloaded the kernel 2.4.21 from kernel.org. I have apply the
> patch ebtables-brnf-2_vs_2.4.21.diff and when I run make xconfig I get
> the following error:
>
> rm -f include/asm
> ( cd include ; ln -sf asm-i386 asm)
> make -C scripts kconfig.tk
> make[1]: Entering directory `/usr/src/linux-2.4.21/scripts'
> cat header.tk >> ./kconfig.tk
> ./tkparse < ../arch/i386/config.in >> kconfig.tk
> net/ipv4/netfilter/Config.in: 47: can't handle
> dep_bool/dep_mbool/dep_tristate condition
> make[1]: *** [kconfig.tk] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.21/scripts'
> make: *** [xconfig] Error 2
>
>
> How can I solve it? It only happens if I apply the ebtables patch. 
And if You run 'make xconfig'

It's correct piece of net/ipv4/netfilter/Config.in
...
if [ "$CONFIG_BRIDGE" != "n" ]; then
    dep_tristate '  Physdev match support' CONFIG_IP_NF_MATCH_PHYSDEV 
$CONFIG_IP_NF_IPTABLES
  fi
...
Just add $CONFIG_IP_NF_IPTABLES at the end of line 47.

-- 
Best regards, Nick Fedchik
http://www.fedchik.org.ua



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.