con wxPython 2.8.12 di SBo questo è il risultato della compilazione della build di aMule:
Codice: Seleziona tutto
UPnPBase.cpp: In constructor ‘CUPnPControlPoint::CUPnPControlPoint(short unsigned int)’:
UPnPBase.cpp:877:56: error: invalid static_cast from type ‘int (*)(Upnp_EventType, void*, void*) {aka int (*)(Upnp_EventType_e, void*, void*)}’ to type ‘Upnp_FunPtr {aka int (*)(Upnp_EventType_e, const void*, void*)}’
static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
^
UPnPBase.cpp: In static member function ‘static int CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)’:
UPnPBase.cpp:1189:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
if (d_event->ErrCode != UPNP_E_SUCCESS) {
^
UPnPBase.cpp:1186:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1190:56: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
messaggio << upnpCP->m_upnpLib.GetUPnPErrorMessage(d_event->ErrCode) << ".";
^
UPnPBase.cpp:1186:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1194:35: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
ret = UpnpDownloadXmlDoc(d_event->Location, &doc);
^
UPnPBase.cpp:1186:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1197:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
d_event->Location << ": " <<
^
UPnPBase.cpp:1186:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1203:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
d_event->Location << ".";
^
UPnPBase.cpp:1186:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1236:13: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
d_event->Location, d_event->Expires);
^
UPnPBase.cpp:1186:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1236:32: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
d_event->Location, d_event->Expires);
^
UPnPBase.cpp:1186:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1258:16: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
if (dab_event->ErrCode != UPNP_E_SUCCESS) {
^
UPnPBase.cpp:1257:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1260:52: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
upnpCP->m_upnpLib.GetUPnPErrorMessage(dab_event->ErrCode) <<
^
UPnPBase.cpp:1257:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1264:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
std::string devType = dab_event->DeviceType;
^
UPnPBase.cpp:1257:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1268:38: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
upnpCP->RemoveRootDevice(dab_event->DeviceId);
^
UPnPBase.cpp:1257:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery’
struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
^
UPnPBase.cpp:1276:34: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
const std::string Sid = e_event->Sid;
^
UPnPBase.cpp:1275:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
^
UPnPBase.cpp:1278:39: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
^
UPnPBase.cpp:1275:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
^
UPnPBase.cpp:1278:58: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
^
UPnPBase.cpp:1275:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event’
struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
^
UPnPBase.cpp:1295:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
if (es_event->ErrCode != UPNP_E_SUCCESS) {
^
UPnPBase.cpp:1293:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
struct Upnp_Event_Subscribe *es_event =
^
UPnPBase.cpp:1298:24: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
messaggio.str(), es_event->ErrCode, NULL, NULL);
^
UPnPBase.cpp:1293:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
struct Upnp_Event_Subscribe *es_event =
^
UPnPBase.cpp:1327:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
es_event->PublisherUrl,
^
UPnPBase.cpp:1321:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
struct Upnp_Event_Subscribe *es_event =
^
UPnPBase.cpp:1333:24: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
messaggio.str(), es_event->ErrCode, NULL, NULL);
^
UPnPBase.cpp:1321:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
struct Upnp_Event_Subscribe *es_event =
^
UPnPBase.cpp:1336:39: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
upnpCP->m_ServiceMap.find(es_event->PublisherUrl);
^
UPnPBase.cpp:1321:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
struct Upnp_Event_Subscribe *es_event =
^
UPnPBase.cpp:1342:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
es_event->PublisherUrl <<
^
UPnPBase.cpp:1321:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe’
struct Upnp_Event_Subscribe *es_event =
^
UPnPBase.cpp:1363:14: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
if (a_event->ErrCode != UPNP_E_SUCCESS) {
^
UPnPBase.cpp:1361:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
struct Upnp_Action_Complete *a_event =
^
UPnPBase.cpp:1366:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
a_event->ErrCode, NULL,
^
UPnPBase.cpp:1361:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
struct Upnp_Action_Complete *a_event =
^
UPnPBase.cpp:1367:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
a_event->ActionResult);
^
UPnPBase.cpp:1361:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
struct Upnp_Action_Complete *a_event =
^
UPnPBase.cpp:1371:12: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
a_event->ActionResult,
^
UPnPBase.cpp:1361:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete’
struct Upnp_Action_Complete *a_event =
^
UPnPBase.cpp:1384:15: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
if (sv_event->ErrCode != UPNP_E_SUCCESS) {
^
UPnPBase.cpp:1382:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
struct Upnp_State_Var_Complete *sv_event =
^
UPnPBase.cpp:1387:24: error: invalid use of incomplete type ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
messaggio.str(), sv_event->ErrCode, NULL, NULL);
^
UPnPBase.cpp:1382:10: note: forward declaration of ‘struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete’
struct Upnp_State_Var_Complete *sv_event =
^
Makefile:1504: set di istruzioni per l'obiettivo "libmuleappcore_a-UPnPBase.o" non riuscito
make[3]: *** [libmuleappcore_a-UPnPBase.o] Errore 1
Makefile:3248: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[2]: *** [all-recursive] Errore 1
Makefile:482: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[1]: *** [all-recursive] Errore 1
Makefile:387: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2