Can you help fix it? UPnPBase.cpp:843:3: error: static_cast from 'int (*)(Upnp_EventType, void *, void *)' (aka 'int (*)(Upnp_EventType_e, void *, void *)') to 'Upnp_FunPtr' (aka 'int (*)(Upnp_EventType_e, const void *, void *)') is not allowed static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ UPnPBase.cpp:1155:14: error: member access into incomplete type 'struct Upnp_Discovery' if (d_event->ErrCode != UPNP_E_SUCCESS) { ^ UPnPBase.cpp:1152:10: note: forward declaration of 'Upnp_Discovery' struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event; ^ UPnPBase.cpp:1156:38: error: member access into incomplete type 'struct Upnp_Discovery' msg << UpnpGetErrorMessage(d_event->ErrCode) << "."; ^ UPnPBase.cpp:1152:10: note: forward declaration of 'Upnp_Discovery' struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event; ^
Created attachment 203829 [details] amule-devel-upnp18.diff Here's a patch that fixes the build with upnp 1.8 based on the upstream PR.
Fixed in ports r499599. Thank you!