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 

Makefile.linux fails install uuid-dev package / libuuid

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



Joined: 18 Jul 2016
Posts: 13

PostPosted: Fri Jul 22, 2016 5:57 pm    Post subject: Makefile.linux fails install uuid-dev package / libuuid Reply with quote

Could you please advise on how to get and install uuid-dev package / libuuid. I am building on RHEL and to run for RHEL :
Linux, x86_64

Here are the errors:

Makefile.linux please install uuid-dev package / libuuid

make -f Makefile.linux
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
please install uuid-dev package / libuuid
./genconfig.sh
Configuring compilation for [Debian] [jessie] with [netfilter] firewall software.
Please edit config.h for more compilation options.
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o miniupnpd.o miniupnpd.c
miniupnpd.c: In function 'main':
miniupnpd.c:2106:15: warning: 'v.clean_ruleset_threshold' may be used uninitialized in this function [-Wmaybe-uninitialized]
rule_list = get_upnp_rules_state_list(v.clean_ruleset_threshold);
^
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnphttp.o upnphttp.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnpdescgen.o upnpdescgen.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnpsoap.o upnpsoap.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnpreplyparse.o upnpreplyparse.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o minixml.o minixml.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o portinuse.o portinuse.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnpredirect.o upnpredirect.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o getifaddr.o getifaddr.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o daemonize.o daemonize.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnpglobalvars.o upnpglobalvars.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o options.o options.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnppermissions.o upnppermissions.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o minissdp.o minissdp.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o natpmp.o natpmp.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o pcpserver.o pcpserver.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnpevents.o upnpevents.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnputils.o upnputils.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o getconnstatus.o getconnstatus.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o upnppinhole.o upnppinhole.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o pcplearndscp.o pcplearndscp.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o asyncsendto.o asyncsendto.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o linux/getifstats.o linux/getifstats.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o linux/ifacewatcher.o linux/ifacewatcher.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o linux/getroute.o linux/getroute.c
cc -Os -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -D_GNU_SOURCE -c -o netfilter/iptcrdr.o netfilter/iptcrdr.c
netfilter/iptcrdr.c:16:21: fatal error: xtables.h: No such file or directory
#include <xtables.h>
^
compilation terminated.
<builtin>: recipe for target 'netfilter/iptcrdr.o' failed
make: *** [netfilter/iptcrdr.o] Error 1
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Fri Jul 29, 2016 7:28 pm    Post subject: Reply with quote

you need to install pkgconfig RHEL package.
and also iptables/libiptc
_________________
Main miniUPnP author.
https://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.