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 

Mldonkey3.10 can't use upnp

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
jensenbreck



Joined: 09 Nov 2017
Posts: 2
Location: New york

PostPosted: Sat Nov 11, 2017 1:29 pm    Post subject: Mldonkey3.10 can't use upnp Reply with quote

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
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1594

PostPosted: Mon Nov 13, 2017 8:39 am    Post subject: Reply with quote

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
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 Bugs 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.