Re: [ANNOUNCE] ipset 6.9.1 released

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

 



On Thu, 15 Sep 2011, Mr Dash Four wrote:

> Jozsef Kadlecsik wrote:
> > I'm happy to announce ipset 6.9.1. It contains two important bugfixes: if
> > you use ipset on a hardware with tight memory usage, please upgrade.
> >   
> I am trying to compile this source (kernel modules only) against the latest
> fedora-released kernel - 2.6.40 (a.k.a. 3.0.1), but get the following errors:
> 
> net/netfilter/ipset/ip_set_core.c:244:5: warning: "LINUX_VERSION_CODE" is not
> defined
> net/netfilter/ipset/ip_set_core.c:244:26: warning: "KERNEL_VERSION" is not
> defined
> net/netfilter/ipset/ip_set_core.c:244:40: error: missing binary operator
> before token "("
> net/netfilter/ipset/ip_set_core.c:1175:5: warning: "LINUX_VERSION_CODE" is not
> defined
> net/netfilter/ipset/ip_set_core.c:1175:26: warning: "KERNEL_VERSION" is not
> defined
> net/netfilter/ipset/ip_set_core.c:1175:40: error: missing binary operator
> before token "("
> net/netfilter/ipset/ip_set_core.c: In function 'ip_set_dump':
> net/netfilter/ipset/ip_set_core.c:1178: error: too many arguments to function
> 'netlink_dump_start'
> make[3]: *** [net/netfilter/ipset/ip_set_core.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [net/netfilter/ipset] Error 2
> make[1]: *** [net/netfilter] Error 2
> make: *** [net] Error 2
> make: *** Waiting for unfinished jobs....
> 
> Am I missing something?

I suppose you are trying to compile the kernel part of the package 
directly. What should be done is as follows:

ipset-6.9.1$ ./autogen.sh
ipset-6.9.1$ ./configure --with-kbuild=/fedora/released/kernel/tree
ipset-6.9.1$ make modules
ipset-6.9.1$ make modules_install

Or your kernel tree is not prepared for building external modules:
you should run at least "make modules_prepare" in 
/fedora/released/kernel/tree.

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary
--
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