Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling open-dpi wrapper #28

Open
GoogleCodeExporter opened this issue Apr 27, 2015 · 0 comments
Open

Compiling open-dpi wrapper #28

GoogleCodeExporter opened this issue Apr 27, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 6 Mar 2012 at 4:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant