From: Srinivasa T N <seenutn@linux.vnet.ibm.com>
To: netfilter@vger.kernel.org
Subject: ipt_NETFLOW for RHEL 6
Date: Mon, 31 Jan 2011 12:35:04 +0530 [thread overview]
Message-ID: <4D465F20.6020409@linux.vnet.ibm.com> (raw)
Hi,
I am trying to compile ipt_NETFLOW module for RHEL 6, but the
compilation is giving error. Should I run POM or do something before I
compile?
---------------------------------------------------------------------
root@ltchs20 ipt_netflow-1.6]# ./configure
Kernel version: 2.6.32-71.el6.x86_64
Iptables binary version: 1.4.7 (detected from /sbin/iptables)
Searching for iptables-1.4.7 sources..
Found iptables sources at ../iptables-1.4.7
Checking iptables sources version: 1.4.7 (ok)
Iptables module path: /lib64/xtables (from library)
Creating Makefile.. done.
Now run: make all install
[root@ltchs20 ipt_netflow-1.6]# make all
Compiling for kernel 2.6.32-71.el6.x86_64
make -C /lib/modules/2.6.32-71.el6.x86_64/build
M=/root/seenu/ipt_netflow-1.6 modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-71.el6.x86_64'
CC [M] /root/seenu/ipt_netflow-1.6/ipt_NETFLOW.o
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: In function ‘nf_seq_show’:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:263: error: implicit
declaration of function ‘HIPQUAD’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:265: warning: too few
arguments for format
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: In function ‘hsize_procctl’:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:305: warning: passing argument
5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of
type ‘size_t *’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:305: error: too many arguments
to function ‘proc_dointvec’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: In function ‘sndbuf_procctl’:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:331: warning: passing argument
5 of ‘proc_dointvec’ from incompatible pointer type
include/linux/sysctl.h:985: note: expected ‘loff_t *’ but argument is of
type ‘size_t *’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:331: error: too many arguments
to function ‘proc_dointvec’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: In function
‘destination_procctl’:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:349: warning: passing argument
5 of ‘proc_dostring’ from incompatible pointer type
include/linux/sysctl.h:983: note: expected ‘loff_t *’ but argument is of
type ‘size_t *’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:349: error: too many arguments
to function ‘proc_dostring’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: In function
‘aggregation_procctl’:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:364: warning: passing argument
5 of ‘proc_dostring’ from incompatible pointer type
include/linux/sysctl.h:983: note: expected ‘loff_t *’ but argument is of
type ‘size_t *’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:364: error: too many arguments
to function ‘proc_dostring’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: At top level:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:409: warning: initialization
from incompatible pointer type
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:416: warning: initialization
from incompatible pointer type
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:424: warning: initialization
from incompatible pointer type
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:432: warning: initialization
from incompatible pointer type
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: In function ‘usock_free’:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:535: warning: format ‘%u’
expects type ‘unsigned int’, but argument 4 has type ‘struct socket *’
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:535: warning: too few
arguments for format
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: In function ‘add_usock’:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:580: warning: too few
arguments for format
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: In function ‘add_aggregation’:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:693: warning: too few
arguments for format
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: At top level:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:1245: warning: initialization
from incompatible pointer type
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c: In function ‘ipt_netflow_init’:
/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.c:1315: error: ‘struct
proc_dir_entry’ has no member named ‘owner’
make[2]: *** [/root/seenu/ipt_netflow-1.6/ipt_NETFLOW.o] Error 1
make[1]: *** [_module_/root/seenu/ipt_netflow-1.6] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-71.el6.x86_64'
make: *** [ipt_NETFLOW.ko] Error 2
------------------------------------------------------------------
Regards,
Seenu.
next reply other threads:[~2011-01-31 7:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-31 7:05 Srinivasa T N [this message]
2011-01-31 7:32 ` ipt_NETFLOW for RHEL 6 Srinivasa T N
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=4D465F20.6020409@linux.vnet.ibm.com \
--to=seenutn@linux.vnet.ibm.com \
--cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox