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 

miniupnpd Compilations error CentOS 5.8

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



Joined: 04 Aug 2012
Posts: 1
Location: China

PostPosted: Sat Aug 04, 2012 12:59 pm    Post subject: miniupnpd Compilations error CentOS 5.8 Reply with quote

hi. guys. when i compilation miniupnpd on my CentOS. I get these info:

linux/getroute.c: In function ‘get_src_for_route_to’:
linux/getroute.c:142: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
cc -Os -fno-strict-aliasing -fno-common -D_GNU_SOURCE -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -c -o netfilter/iptcrdr.o netfilter/iptcrdr.c
netfilter/iptcrdr.c: In function ‘get_redirect_rule’:
netfilter/iptcrdr.c:242: error: ‘iptc_handle_t’ undeclared (first use in this function)
netfilter/iptcrdr.c:242: error: (Each undeclared identifier is reported only once
netfilter/iptcrdr.c:242: error: for each function it appears in.)
netfilter/iptcrdr.c:242: error: expected ‘;’ before ‘h’
netfilter/iptcrdr.c:243: warning: ISO C90 forbids mixed declarations and code
netfilter/iptcrdr.c:249: error: ‘h’ undeclared (first use in this function)
netfilter/iptcrdr.c: In function ‘get_redirect_rule_by_index’:
netfilter/iptcrdr.c:340: error: ‘iptc_handle_t’ undeclared (first use in this function)
netfilter/iptcrdr.c:340: error: expected ‘;’ before ‘h’
netfilter/iptcrdr.c:341: warning: ISO C90 forbids mixed declarations and code
netfilter/iptcrdr.c:347: error: ‘h’ undeclared (first use in this function)
netfilter/iptcrdr.c: At top level:
netfilter/iptcrdr.c:423: error: expected declaration specifiers or ‘...’ before ‘iptc_handle_t’
netfilter/iptcrdr.c: In function ‘delete_rule_and_commit’:
netfilter/iptcrdr.c:431: error: ‘h’ undeclared (first use in this function)
netfilter/iptcrdr.c: In function ‘delete_redirect_and_filter_rules’:
netfilter/iptcrdr.c:465: error: ‘iptc_handle_t’ undeclared (first use in this function)
netfilter/iptcrdr.c:465: error: expected ‘;’ before ‘h’
netfilter/iptcrdr.c:466: warning: ISO C90 forbids mixed declarations and code
netfilter/iptcrdr.c:473: error: ‘h’ undeclared (first use in this function)
netfilter/iptcrdr.c:541: error: too many arguments to function ‘delete_rule_and_commit’
netfilter/iptcrdr.c:583: error: too many arguments to function ‘delete_rule_and_commit’
netfilter/iptcrdr.c: In function ‘iptc_init_verify_and_append’:
netfilter/iptcrdr.c:663: error: ‘iptc_handle_t’ undeclared (first use in this function)
netfilter/iptcrdr.c:663: error: expected ‘;’ before ‘h’
netfilter/iptcrdr.c:664: error: ‘h’ undeclared (first use in this function)
netfilter/iptcrdr.c: In function ‘get_portmappings_in_range’:
netfilter/iptcrdr.c:847: error: ‘iptc_handle_t’ undeclared (first use in this function)
netfilter/iptcrdr.c:847: error: expected ‘;’ before ‘h’
netfilter/iptcrdr.c:848: warning: ISO C90 forbids mixed declarations and code
netfilter/iptcrdr.c:860: error: ‘h’ undeclared (first use in this function)
make: *** [netfilter/iptcrdr.o] Error 1

what can I do? thanks.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1500

PostPosted: Sat Aug 11, 2012 5:26 am    Post subject: Reply with quote

problems with iptables/netfilter headers...
I thought I got rid of theses...
What version of miniupnpd are you trying to compile ?
_________________
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.