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 

compile error with 1.4.20100407

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



Joined: 08 Dec 2007
Posts: 10

PostPosted: Wed Apr 07, 2010 12:30 pm    Post subject: compile error with 1.4.20100407 Reply with quote

When compiling with the newest build 1.4.20100407 I get the errors:

/Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:140:0 /Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:140: error: 'struct IGDdatas' has no member named 'servicetype'

/Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:154:0 /Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:154: error: 'struct IGDdatas' has no member named 'servicetype'

/Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:156:0 /Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:156: error: 'struct IGDdatas' has no member named 'servicetype'

/Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:176:0 /Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:176: error: 'struct IGDdatas' has no member named 'servicetype'

/Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:185:0 /Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:185: error: 'struct IGDdatas' has no member named 'servicetype'

/Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:190:0 /Users/mitchell/Desktop/Transmission/libtransmission/upnp.c:190: error: 'struct IGDdatas' has no member named 'servicetype'
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1504

PostPosted: Wed Apr 07, 2010 1:57 pm    Post subject: Reply with quote

search/replace data->servicetype by data->first.servicetype in that file.
and data->servicetype_CIF by data->CIF.servicetype
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
livings124



Joined: 08 Dec 2007
Posts: 10

PostPosted: Wed Apr 07, 2010 10:25 pm    Post subject: Reply with quote

That did the trick. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc 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.