View previous topic :: View next topic |
Author |
Message |
jensenbreck
Joined: 09 Nov 2017 Posts: 2 Location: New york
|
Posted: Sat Nov 11, 2017 1:29 pm Post subject: Mldonkey3.10 can't use upnp |
|
|
I wanted to install the mldonkey 3.10 from the ports with '--enable-upnp-natpmp' arguement. But it reported that error.
Code:
+ cc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fno-strict-aliasing -fPIC -c -I /byterun
-o src/utils/net/upnp_stubs.o -O2 -pipe -fno-strict-aliasing -I/usr/local/include -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-I/usr/local/include -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/ocaml' 'src/utils/net/upnp_stubs.c'
src/utils/net/upnp_stubs.c: In function 'natpmpPulse':
src/utils/net/upnp_stubs.c:504: error: too few arguments to function 'initnatpmp'
gmake: *** [src/utils/net/upnp_stubs.o] Error 2
*** Error code 1
Before this, I have installed the miniupnpc and libnatpmp from the ports. I use FreeBSD 8.2-RELEASE amd64 version.
How to fix this problem?
I didn't find the right solution from the internet. |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1594
|
Posted: Mon Nov 13, 2017 8:39 am Post subject: |
|
|
I think the error is quite explicit :
please check src/utils/net/upnp_stubs.c line 504
and the prototype of the initnatpmp() function in natpmp.h _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
|