miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems compiling miniupnpd-1.6.20120426 on Debian Wheezy

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation
View previous topic :: View next topic  
Author Message
brielle



Joined: 27 Apr 2012
Posts: 1

PostPosted: Fri Apr 27, 2012 4:34 pm    Post subject: Problems compiling miniupnpd-1.6.20120426 on Debian Wheezy Reply with quote

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
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1477

PostPosted: Sun Apr 29, 2012 10:43 pm    Post subject: Reply with quote

remove the -ansi flag from Makefile.linux
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.