View previous topic :: View next topic |
Author |
Message |
brielle
Joined: 27 Apr 2012 Posts: 1
|
Posted: Fri Apr 27, 2012 4:34 pm Post subject: Problems compiling miniupnpd-1.6.20120426 on Debian Wheezy |
|
|
Hello All,
I'm having an issue trying to compile miniupnpd-1.6.20120426 on Debian Wheezy x86 with IPTables 1.4.13.
Code: | cc -Wall -Os -D_GNU_SOURCE -fno-strict-aliasing -Wstrict-prototypes -ansi -I/usr/src/iptables-1.4.13/include/ -DIPTABLES_143 -c -o netfilter/iptcrdr.o netfilter/iptcrdr.c
netfilter/iptcrdr.c: In function ‘get_tcp_match’:
netfilter/iptcrdr.c:588:11: warning: implicit declaration of function ‘typeof’ [-Wimplicit-function-declaration]
netfilter/iptcrdr.c:588:11: error: called object ‘typeof(32u)’ is not a function
netfilter/iptcrdr.c:588:11: error: called object ‘typeof(32u)’ is not a function
netfilter/iptcrdr.c:589:11: error: called object ‘typeof(12u)’ is not a function
netfilter/iptcrdr.c:589:11: error: called object ‘typeof(12u)’ is not a function
netfilter/iptcrdr.c: In function ‘get_udp_match’:
netfilter/iptcrdr.c:607:11: error: called object ‘typeof(32u)’ is not a function
netfilter/iptcrdr.c:607:11: error: called object ‘typeof(32u)’ is not a function
netfilter/iptcrdr.c:608:11: error: called object ‘typeof(10u)’ is not a function
netfilter/iptcrdr.c:608:11: error: called object ‘typeof(10u)’ is not a function
netfilter/iptcrdr.c: In function ‘get_dnat_target’:
netfilter/iptcrdr.c:628:11: error: called object ‘typeof(32u)’ is not a function
netfilter/iptcrdr.c:628:11: error: called object ‘typeof(32u)’ is not a function
netfilter/iptcrdr.c:629:11: error: called object ‘typeof(20u)’ is not a function
netfilter/iptcrdr.c:629:11: error: called object ‘typeof(20u)’ is not a function
netfilter/iptcrdr.c: In function ‘get_accept_target’:
netfilter/iptcrdr.c:769:11: error: called object ‘typeof(32u)’ is not a function
netfilter/iptcrdr.c:769:11: error: called object ‘typeof(32u)’ is not a function
netfilter/iptcrdr.c:770:11: error: called object ‘typeof(4u)’ is not a function
netfilter/iptcrdr.c:770:11: error: called object ‘typeof(4u)’ is not a function
make: *** [netfilter/iptcrdr.o] Error 1 |
I've even tried building from latest git source, and still have the same error.
Please let me know if I can provide any other info or assist with testing.
Thanks!
Brielle |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Sun Apr 29, 2012 10:43 pm Post subject: |
|
|
remove the -ansi flag from Makefile.linux _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|