All of lore.kernel.org
 help / color / mirror / Atom feed
From: Srinivasa T N <seenutn@linux.vnet.ibm.com>
To: netfilter@vger.kernel.org
Subject: Re: ipt_NETFLOW for RHEL 6
Date: Mon, 31 Jan 2011 13:02:28 +0530	[thread overview]
Message-ID: <4D46658C.3000309@linux.vnet.ibm.com> (raw)
In-Reply-To: <4D465F20.6020409@linux.vnet.ibm.com>

On Monday 31 January 2011 12:35 PM, Srinivasa T N wrote:
> 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.
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

I compiled NETFLOW-1.7 and it compiled smoothly on my RHEL box.

Regards,
Seenu.

      reply	other threads:[~2011-01-31  7:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31  7:05 ipt_NETFLOW for RHEL 6 Srinivasa T N
2011-01-31  7:32 ` Srinivasa T N [this message]

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=4D46658C.3000309@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 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.