View previous topic :: View next topic |
Author |
Message |
wong
Joined: 10 Sep 2013 Posts: 3
|
Posted: Tue Sep 10, 2013 9:45 am Post subject: miniupnd-1.8.2 instllation error |
|
|
Hi,folks.
I am trying to install miniupnpd-1.8.20130730 and got following error while installation .
mips-linux-gcc -Os -fno-strict-aliasing -fno-common -D_GNU_SOURCE -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -I/root/Desktop/iptables-1.4.13/include/ -DIPTABLES_143 -I/usr/local/include -c -o netfilter/iptpinhole.o netfilter/iptpinhole.c
make: *** No rule to make target `-lnfnetlink', needed by `miniupnpd'. Stop.
The libnfnetlink-1.0.1 has been installed and it's path is "/usr/local/include".
how to solve the problem ?
Thank you! |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Tue Sep 10, 2013 8:22 pm Post subject: |
|
|
please try :
Code: | $ find /usr/ -name libnfnetlink\* |
you'll then probably understand the source of the problem
you need libnfnetlink.a / .so _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
wong
Joined: 10 Sep 2013 Posts: 3
|
Posted: Wed Sep 11, 2013 12:38 am Post subject: |
|
|
miniupnp wrote: | please try :
Code: | $ find /usr/ -name libnfnetlink\* |
you'll then probably understand the source of the problem
you need libnfnetlink.a / .so |
Thank you!
But,after executing the command,I got the messages as follows:
Code: | /usr/local/include/libnfnetlink
/usr/local/include/libnfnetlink/libnfnetlink.h
/usr/local/lib/libnfnetlink.so.0
/usr/local/lib/libnfnetlink.so
/usr/local/lib/libnfnetlink.la
/usr/local/lib/pkgconfig/libnfnetlink.pc
/usr/local/lib/libnfnetlink.so.0.2.0 |
I had not specified the path of the library in the Makefile.linux, which I guess caused the problem.Where should I add the path. I've tried many times, but this problem still exists.
|
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Wed Sep 11, 2013 7:33 am Post subject: |
|
|
also I noticed that you are using "mips-linux-gcc", so I guess you are cross compiling, right ? if so, you should make sure the libraries and includes are in your cross compiling environment. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
wong
Joined: 10 Sep 2013 Posts: 3
|
Posted: Wed Sep 11, 2013 8:42 am Post subject: |
|
|
miniupnp wrote: |
also I noticed that you are using "mips-linux-gcc", so I guess you are cross compiling, right ? if so, you should make sure the libraries and includes are in your cross compiling environment. |
OK!Thanks! |
|
Back to top |
|
|
|