View previous topic :: View next topic |
Author |
Message |
Mandar
Joined: 18 Apr 2012 Posts: 6 Location: Banglore,India
|
Posted: Wed Apr 18, 2012 10:19 am Post subject: miniupnd instllation error |
|
|
I am trying to install miniupnpd and got following error while installation .
[root@mandar miniupnpd-1.5.20110620]# make -f Makefile.linux install
make: *** No rule to make target `-liptc', needed by `miniupnpd'. Stop.
what is this -liptc ?why it is required?
Thank You |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1594
|
Posted: Wed Apr 18, 2012 11:04 am Post subject: Re: miniupnd instllation error |
|
|
Mandar wrote: | I am trying to install miniupnpd and got following error while installation .
[root@mandar miniupnpd-1.5.20110620]# make -f Makefile.linux install
make: *** No rule to make target `-liptc', needed by `miniupnpd'. Stop.
what is this -liptc ?why it is required? |
Please try with the latest miniupnpd code available here. The makefiles where improved regarding libiptc.
Also make sure that iptables is correctly installed on your system.
libiptc is a library of netfilter/iptables. It is required by miniupnpd to manipulate the tables _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
Mandar
Joined: 18 Apr 2012 Posts: 6 Location: Banglore,India
|
Posted: Wed Apr 18, 2012 11:37 am Post subject: |
|
|
THANK YOU for your help,
I tried compiling it again with miniupnpd-1.6.20120406 and iptable-1.4.11 but now i am getting following errors
[root@mandar miniupnpd-1.6.20120406]# IPTABLESPATH=/home/miniUPnP/miniupnpd-1.6.20120406/iptables-1.4.11 make -f Makefile.linux
cc -Wall -O -D_GNU_SOURCE -g -DDEBUG -ansi -I/home/miniUPnP/miniupnpd-1.6.20120406/iptables-1.4.11/include/ -DIPTABLES_143 -c -o upnpsoap.o upnpsoap.c
upnpsoap.c: In function ‘PinholeVerification’:
upnpsoap.c:1265:2: error: expected expression before ‘/’ token
upnpsoap.c:1266:2: error: expected expression before ‘/’ token
upnpsoap.c:1267:2: error: expected expression before ‘/’ token
upnpsoap.c:1270:29: error: expected expression before ‘/’ token
upnpsoap.c:1276:46: error: expected expression before ‘/’ token
upnpsoap.c:1269:31: warning: unused variable ‘p’
upnpsoap.c:1269:26: warning: unused variable ‘ai’
upnpsoap.c:1264:7: warning: unused variable ‘senderAddr’
upnpsoap.c:1261:6: warning: unused variable ‘n’
upnpsoap.c:1298:2: warning: no return statement in function returning non-void
upnpsoap.c: At top level:
upnpsoap.c:1300:2: error: expected identifier or ‘(’ before ‘if’
upnpsoap.c:1306:9: error: expected declaration specifiers or ‘...’ before string constant
upnpsoap.c:1306:89: error: expected declaration specifiers or ‘...’ before ‘senderAddr’
upnpsoap.c:1306:101: error: expected declaration specifiers or ‘...’ before ‘int_ip’
upnpsoap.c:1306:2: warning: data definition has no type or storage class
upnpsoap.c:1306:2: warning: type defaults to ‘int’ in declaration of ‘printf’
upnpsoap.c:1306:2: error: conflicting types for ‘printf’
upnpsoap.c:1306:101: note: a parameter list with an ellipsis can’t match an empty parameter name list declaration
upnpsoap.c:1308:2: error: expected identifier or ‘(’ before ‘if’
upnpsoap.c:1308:2278: error: expected identifier or ‘(’ before ‘)’ token
upnpsoap.c:1318:2: error: expected identifier or ‘(’ before ‘if’
upnpsoap.c:1325:2: error: expected identifier or ‘(’ before ‘return’
upnpsoap.c:1326:1: error: expected identifier or ‘(’ before ‘}’ token
upnpsoap.c: In function ‘CheckPinholeWorking’:
upnpsoap.c:1622:5: error: expected expression before ‘/’ token
make: *** [upnpsoap.o] Error 1 |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1594
|
Posted: Wed Apr 18, 2012 1:04 pm Post subject: |
|
|
well IGDv2 is not finished... it's no use compiling it unless you are developing on it
if you remove the "-ansi" flag from CFLAGS in Makefile.linux, that should compile ok _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
Mandar
Joined: 18 Apr 2012 Posts: 6 Location: Banglore,India
|
Posted: Thu Apr 19, 2012 6:48 am Post subject: |
|
|
THANK YOU.....it finally works fine...
 |
|
Back to top |
|
 |
Mandar
Joined: 18 Apr 2012 Posts: 6 Location: Banglore,India
|
Posted: Thu Apr 19, 2012 6:52 am Post subject: |
|
|
Its working on my x86 system.....now i want it to be work on ARM platform (I am using BeagleBone) is there any change in compilation/installation procedure? which package i have to cross compile? |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1594
|
Posted: Thu Apr 19, 2012 8:00 am Post subject: |
|
|
I dont know about your target platform and the cross compilation tools you are using.
miniupnpd should be linked with libiptc from iptables. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
Mandar
Joined: 18 Apr 2012 Posts: 6 Location: Banglore,India
|
Posted: Thu Apr 19, 2012 11:01 am Post subject: |
|
|
ok.....
if anyone using miniupnp or miniupnp daemon on ARM board please help me out ... |
|
Back to top |
|
 |
twear
Joined: 01 Nov 2012 Posts: 80
|
Posted: Fri Nov 02, 2012 8:18 pm Post subject: |
|
|
were you able to figure this out? I'm fighting through it right now... |
|
Back to top |
|
 |
|