punyahenry / opendpi

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

issue 19 #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
my error message is :
make -C ipt
make[1]: Entering directory `/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/ipt'
if test -d opendpi_cpy; then \
                cp /usr/src/opendpi-1.3.0/src/* opendpi_cpy -R; \
        else \
                mkdir opendpi_cpy; \
                cp /usr/src/opendpi-1.3.0/src/* opendpi_cpy -R; \
        fi
make libxt_opendpi.so
make[2]: Entering directory `/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/ipt'
make[2]: `libxt_opendpi.so' is up to date.
make[2]: Leaving directory `/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/ipt'
rm -r opendpi_cpy
make[1]: Leaving directory `/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/ipt'
make -C src
make[1]: Entering directory `/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src'
if test -d opendpi_cpy; then \
                cp /usr/src/opendpi-1.3.0/src/* opendpi_cpy -R; \
        else \
                mkdir opendpi_cpy; \
                cp /usr/src/opendpi-1.3.0/src/* opendpi_cpy -R; \
        fi
make -C /lib/modules/2.6.28/build M=$PWD;
make[2]: Entering directory `/usr/src/linux-2.6.28'
  CC [M]  /usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.o
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:362: warning: 
‘struct nf_ct_event’ declared inside parameter list
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:362: warning: its 
scope is only this definition or declaration, which is probably not what you 
want
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c: In function 
‘opendpi_conntrack_event’:
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:364: error: 
dereferencing pointer to incomplete type
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c: At top level:
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:383: error: variable 
‘osdpi_notifier’ has initializer but incomplete type
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:384: error: unknown 
field ‘fcn’ specified in initializer
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:384: warning: excess 
elements in struct initializer
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:384: warning: (near 
initialization for ‘osdpi_notifier’)
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:457:2: error: invalid 
preprocessing directive #opendpi_mt
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:458: warning: 
‘struct xt_action_param’ declared inside parameter list
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c: In function 
‘opendpi_mt’:
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:467: error: 
dereferencing pointer to incomplete type
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c: In function 
‘opendpi_cleanup’:
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:592: warning: passing 
argument 1 of ‘nf_conntrack_unregister_notifier’ from incompatible pointer 
type
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c: At top level:
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:624: warning: 
initialization from incompatible pointer type
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c: In function 
‘opendpi_mt_init’:
/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.c:678: warning: passing 
argument 1 of ‘nf_conntrack_register_notifier’ from incompatible pointer 
type
make[3]: *** [/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src/main.o] Error 1
make[2]: *** [_module_/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src] Error 
2
make[2]: Leaving directory `/usr/src/linux-2.6.28'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/opendpi-netfilter-wrapper-1.2/wrapper/src'
make: *** [all] Error 2

and
my linux kernel is 2.6.28.

Help me

Original issue reported on code.google.com by 15038051...@163.com on 23 Sep 2011 at 8:41