All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Krzysztof Mościcki" <stivi@kity.pl>
To: netfilter-devel@lists.netfilter.org
Subject: Kernel 2.6.19 and match set doesn't compile
Date: Thu, 07 Dec 2006 22:20:25 +0100	[thread overview]
Message-ID: <1165526425.8465.18.camel@builder.kity.pl> (raw)

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

                 reply	other threads:[~2006-12-07 21:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1165526425.8465.18.camel@builder.kity.pl \
    --to=stivi@kity.pl \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.