NetFilter
[Top] [All Lists]

problems applying ipset patch

To: netfilter@lists.netfilter.org
Subject: problems applying ipset patch
From: Andrea <andang76@gmail.com>
Date: Tue, 22 May 2007 12:30:11 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: netfilter-list1@securepoint.com
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=texbZRW8RipgIHionwo1d6TjfLXjTGVdgqRAVV7hVlIs6UyzKHgnxTQyy2iGBDt/KJphRj219+R9dq9yOz0hQh0L5AkW/cwVwawTqdeug5jEIBR4CWfl7RKVKffwYVmOOD+Ihuohms/JI5Q8f8eokFxXv/WY7d0fAxd3rS6er2Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=jFa7GKZuzIfN1kiEr74fu39ctDEcpJaZkr7vDMoIkK6Vq84OocEMqhBwZkQX/XD65aGioNUnvuQ/r0L5xBEopTYMUVM1K44z2jg1yE27wFTIgEB7hMIZ1Z7Y0d3ZDDehLCUZ5HY+2fZNGwVnYXwxSRWPo//e6BdwIPoWkrkrBcE=
List-archive: </pipermail/netfilter>
List-help: <mailto:netfilter-request@lists.netfilter.org?subject=help>
List-id: General discussion and user questions <netfilter.lists.netfilter.org>
List-post: <mailto:netfilter@lists.netfilter.org>
List-subscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe>
List-unsubscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe>
Sender: netfilter-bounces@lists.netfilter.org
User-agent: Thunderbird 2.0.0.0 (Windows/20070326)
hi, this is my first post here. [don't know if I have to use the developer mailing list, sorry if i'm wrong].

I've tried to apply the ipset patch in my CentOS 4.4 distribution, without success.

I've followed instructions here http://www.howtoforge.com/kernel_compilation_centos_p2?s=aabdb730a09fa747d00f2b9a3ff431cc&; (CentOS Kernel Compile) and here http://ipset.netfilter.org/install.html (ipset patch apply).

The patch is applied successfully, but when I try to recompile, I obtain these errors (after a long list of compiled files):

...
  LD      .tmp_vmlinux1
net/built-in.o(.init.text+0x16f1): In function `ipt_ipset_init':
net/ipv4/netfilter/ipt_set.c:133: undefined reference to `xt_register_match'
net/built-in.o(.init.text+0x1700): In function `ipt_SET_init':
net/ipv4/netfilter/ipt_SET.c:151: undefined reference to `xt_register_target'
net/built-in.o(.exit.text+0x41): In function `ipt_ipset_fini':
net/ipv4/netfilter/ipt_set.c:138: undefined reference to `xt_unregister_match'
net/built-in.o(.exit.text+0x50): In function `ipt_SET_fini':
net/ipv4/netfilter/ipt_SET.c:156: undefined reference to `xt_unregister_target'
make: *** [.tmp_vmlinux1] Error 1

I've tried twice, using two combinations of kernel (downloaded from www.kernel.org) and patch-o-matic (downloaded first time from http://ipset.netfilter.org/, second from patch-o-matic snaptshots).

I've applied only the ipset patch (launching only the ./runme set command, just as explained in the ipset site).

Maybe do I need to apply other patches from patch-o-matic?

Thanks for the help


<Prev in Thread] Current Thread [Next in Thread>
  • problems applying ipset patch, Andrea <=