All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel 2.6.19 and match set doesn't compile
@ 2006-12-07 21:20 Krzysztof Mościcki
  0 siblings, 0 replies; only message in thread
From: Krzysztof Mościcki @ 2006-12-07 21:20 UTC (permalink / raw)
  To: netfilter-devel

Hi.
I have kernel 2.6.19 with match set, u32 and target ROUTE from
patch-o-matic-ng-20061206.
I run make, and:

  CC      net/ipv4/netfilter/ipt_SET.o
net/ipv4/netfilter/ipt_SET.c:124: warning: initialization from
incompatible pointer type
net/ipv4/netfilter/ipt_SET.c:128: warning: initialization from
incompatible pointer type
net/ipv4/netfilter/ipt_SET.c:129: warning: initialization from
incompatible pointer type
C      net/ipv4/netfilter/ip_set.o
net/ipv4/netfilter/ip_set.c:12:26: linux/config.h: No such file or
directory
net/ipv4/netfilter/ip_set.c:30:43: linux/netfilter_ipv4/listhelp.h: No
such file or directory
net/ipv4/netfilter/ip_set.c: In function `ip_set_find_in_hash':
net/ipv4/netfilter/ip_set.c:90: warning: implicit declaration of
function `LIST_FIND'
net/ipv4/netfilter/ip_set.c:91: error: syntax error before "struct"
net/ipv4/netfilter/ip_set.c: In function `ip_set_hash_del':
net/ipv4/netfilter/ip_set.c:122: error: syntax error before "struct"
net/ipv4/netfilter/ip_set.c: In function `ip_set_hash_add':
net/ipv4/netfilter/ip_set.c:147: error: syntax error before "struct"
net/ipv4/netfilter/ip_set.c: In function `find_set_type':
net/ipv4/netfilter/ip_set.c:299: error: syntax error before "struct"
net/ipv4/netfilter/ip_set.c:301: warning: no return statement in
function returning non-void
net/ipv4/netfilter/ip_set.c: In function `ip_set_register_set_type':
net/ipv4/netfilter/ip_set.c:328: warning: implicit declaration of
function `list_append'
net/ipv4/netfilter/ip_set.c: In function `ip_set_unregister_set_type':
net/ipv4/netfilter/ip_set.c:344: warning: implicit declaration of
function `LIST_DELETE'
make[3]: *** [net/ipv4/netfilter/ip_set.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2


Also compilation u32 and ROUTE prints warnings:

net/ipv4/netfilter/ipt_u32.c:221: warning: initialization from
incompatible pointer type

net/ipv4/netfilter/ipt_ROUTE.c:438: warning: initialization from
incompatible pointer type
net/ipv4/netfilter/ipt_ROUTE.c:440: warning: initialization from
incompatible pointer type

net/ipv6/netfilter/ip6t_ROUTE.c:287: warning: initialization from
incompatible pointer type
net/ipv6/netfilter/ip6t_ROUTE.c:289: warning: initialization from
incompatible pointer type

Please help.


-- 
cheers,
Krzysztof Mościcki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-07 21:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07 21:20 Kernel 2.6.19 and match set doesn't compile Krzysztof Mościcki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.