ashiqimran / opendpi

Automatically exported from code.google.com/p/opendpi
GNU Lesser General Public License v3.0
0 stars 0 forks source link

opendpi-netfilter-wrapper compile error #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to compile wrapper ver.1.1 and ver.1.2.
I get the exact same error:

make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
rule.
  LD      /var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-netfilter-wrapper-1.2/wrapper/src/built-in.o
  CC [M]  /var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-netfilter-wrapper-1.2/wrapper/src/main.o
/var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-ne
tfilter-wrapper-1.2/wrapper/src/main.c: In function ‘opendpi_mt’:
/var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-ne
tfilter-wrapper-1.2/wrapper/src/main.c:478:2: warning: passing argument 1 of 
‘nf_ct_is_untracked’ from incompatible pointer type
include/net/netfilter/nf_conntrack.h:305:50: note: expected ‘const struct 
nf_conn *’ but argument is of type ‘const struct sk_buff *’
/var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-ne
tfilter-wrapper-1.2/wrapper/src/main.c: In function ‘opendpi_cleanup’:
/var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-ne
tfilter-wrapper-1.2/wrapper/src/main.c:609:9: warning: passing argument 1 of 
‘nf_conntrack_unregister_notifier’ from incompatible pointer type
include/net/netfilter/nf_conntrack_ecache.h:71:13: note: expected ‘struct net 
*’ but argument is of type ‘struct nf_ct_event_notifier *’
/var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-ne
tfilter-wrapper-1.2/wrapper/src/main.c:609:9: error: too few arguments to 
function ‘nf_conntrack_unregister_notifier’
include/net/netfilter/nf_conntrack_ecache.h:71:13: note: declared here
/var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-ne
tfilter-wrapper-1.2/wrapper/src/main.c: In function ‘opendpi_mt_init’:
/var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-ne
tfilter-wrapper-1.2/wrapper/src/main.c:695:9: warning: passing argument 1 of 
‘nf_conntrack_register_notifier’ from incompatible pointer type
include/net/netfilter/nf_conntrack_ecache.h:70:12: note: expected ‘struct net 
*’ but argument is of type ‘struct nf_ct_event_notifier *’
/var/tmp/portage/net-firewall/opendpi-netfilter-wrapper-1.2-r130/work/opendpi-ne
tfilter-wrapper-1.2/wrapper/src/main.c:695:9: error: too few arguments to 
function ‘nf_conntrack_register_notifier’
include/net/netfilter/nf_conntrack_ecache.h:70:12: note: declared here

I have: Kernel 3.2.0 x64 Gentoo, iptables 1.4.12.1
I fixed some errors when using: opendpi-netfilter-wrapper-1.1_2.6.36.patch, 
opendpi-netfilter-wrapper-1.1_2.6.35_v3.patch

How fix this truble?

Original issue reported on code.google.com by fenixfi...@gmail.com on 9 Jan 2012 at 12:35