punyahenry / opendpi

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

Compiling open-dpi wrapper #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compiling opendpi-wrapper 1.2.0 on a SLES 10 system

What is the expected output? 
A compiled module

What do you see instead?

make -C ipt
make[1]: Entering directory `/root/opendpi-netfilter-wrapper-1.2/wrapper/ipt'
if test -d opendpi_cpy; then \
        cp /root/opendpi-1.3.0/src/* opendpi_cpy -R; \
else \
        mkdir opendpi_cpy; \
        cp /root/opendpi-1.3.0/src/* opendpi_cpy -R; \
fi
make libxt_opendpi.so
make[2]: Entering directory `/root/opendpi-netfilter-wrapper-1.2/wrapper/ipt'
gcc -fPIC -Iopendpi_cpy/include -Iopendpi_cpy/lib -I../src 
-DOPENDPI_NETFILTER_MODULE -O2 -Wall -D_INIT=libxt_opendpi_init -c -o 
libxt_opendpi.o libxt_opendpi.c;
libxt_opendpi.c: In function ‘opendpi_mt4_save’:
libxt_opendpi.c:36: error: dereferencing pointer to incomplete type
libxt_opendpi.c: In function ‘opendpi_mt4_print’:
libxt_opendpi.c:51: error: dereferencing pointer to incomplete type
libxt_opendpi.c: In function ‘opendpi_mt4_parse’:
libxt_opendpi.c:66: error: dereferencing pointer to incomplete type
libxt_opendpi.c: In function ‘opendpi_mt_init’:
libxt_opendpi.c:113: error: dereferencing pointer to incomplete type
libxt_opendpi.c:113: warning: unused variable ‘info’
libxt_opendpi.c: At top level:
libxt_opendpi.c:129: warning: initialization from incompatible pointer type
libxt_opendpi.c:130: warning: initialization from incompatible pointer type
libxt_opendpi.c:132: warning: initialization from incompatible pointer type
libxt_opendpi.c:133: warning: initialization from incompatible pointer type
make[2]: *** [libxt_opendpi.o] Error 1
make[2]: Leaving directory `/root/opendpi-netfilter-wrapper-1.2/wrapper/ipt'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/opendpi-netfilter-wrapper-1.2/wrapper/ipt'
make: *** [all] Error 2

What version of the product are you using? 
OPENDPI 1.3.0 
OPENDPI-NETWRAPPER 1.2.0

On what operating system?
SLES 10 SP3 with IPtables 1.4.2

Please provide any additional information below.

Original issue reported on code.google.com by jan.olss...@gmail.com on 6 Mar 2012 at 4:10