Re: [ANNOUNCE] ipset-5.0 released

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

 



On Friday 2010-12-17 23:26, Jozsef Kadlecsik wrote:

>Hi,
>
>I'm happy to announce the new branch of ipset and release it's first 
>element, ipset-5.0.

That is great to hear. There is a compile error with gcc 4.5
and the latest ipset git snapshot:

  CC     ipset.o
cc1: warnings being treated as errors
ipset.c: In function âcheck_allowedâ:
ipset.c:344:26: error: comparison between âenum ipset_cmdâ and âenum ipset_adtâ


The kernel/ directory is not compilable at all:

make -C /lib/modules/`uname -r`/build M=`pwd` all
make[1]: Entering directory `/usr/src/linux-2.6.36-rc8-34-obj/x86_64/default'
make -C /usr/src/linux-2.6.36-rc8-34 O=/usr/src/linux-2.6.36-rc8-34-obj/x86_64/default/. 
  CC [M]  /home/jengelh/code/ipset/kernel/ip_set.o
kernel/ip_set.c:31:50: error: expected expression before â;â token

^ CONFIG_IP_SET_MAX not defined


kernel/ip_set.c: In function âstart_msgâ:
kernel/ip_set.c:735:40: error: âNFNL_SUBSYS_IPSETâ undeclared (first use in this function)

^ Neither is this, but this was to be expected. We should really
make this constant available in the Linux kernel so that people
are able to compile the out-of-tree ipset until it gets in.

(I hear this issue would not have happened would we have used genetlink!
*nudges pablo* ;-)


kernel/ip_set.c: At top level:
kernel/ip_set.c:1633:3: warning: initialization from incompatible pointer type

^ This is due to NFNL_CB_CONST not being set.
--
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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux