joenew |
06-29-2018 09:18 AM |
Linphone - Fails to compile mediastreamer2
1 Attachment(s)
Hi all, I'm trying to recompile linphone using sbopkg. I'm on slackware_64-14.2 with some AlienBob package, also multilib.
Below you find sbopkg log file attached with all building messages and final errors too.
Anyway I'll report an inline part of that messages:
Code:
CC upnp/libmediastreamer_voip_la-upnp_igd.lo
In file included from /usr/include/upnp/ActionComplete.h:22:0,
from /usr/include/upnp/upnp.h:397,
from upnp/upnp_igd_utils.h:36,
from upnp/upnp_igd.c:33:
/usr/include/upnp/TemplateInclude.h:37:17: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
typedef struct s_##CLASS CLASS; \
^
/usr/include/upnp/TemplateInclude.h:32:2: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON_AUX’
TEMPLATE_PROTOTYPE_COMMON_AUX(CLASS)
^
/usr/include/upnp/TemplateInclude.h:138:1: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON’
TEMPLATE_PROTOTYPE_COMMON(CLASS)
^
/usr/include/upnp/TemplateInclude.h:37:17: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
typedef struct s_##CLASS CLASS; \
^
/usr/include/upnp/TemplateInclude.h:32:2: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON_AUX’
TEMPLATE_PROTOTYPE_COMMON_AUX(CLASS)
^
/usr/include/upnp/TemplateInclude.h:138:1: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON’
TEMPLATE_PROTOTYPE_COMMON(CLASS)
^
/usr/include/upnp/TemplateInclude.h:37:17: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
typedef struct s_##CLASS CLASS; \
^
/usr/include/upnp/TemplateInclude.h:32:2: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON_AUX’
TEMPLATE_PROTOTYPE_COMMON_AUX(CLASS)
^
/usr/include/upnp/TemplateInclude.h:138:1: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON’
TEMPLATE_PROTOTYPE_COMMON(CLASS)
^
/usr/include/upnp/TemplateInclude.h:37:17: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
typedef struct s_##CLASS CLASS; \
^
/usr/include/upnp/TemplateInclude.h:32:2: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON_AUX’
TEMPLATE_PROTOTYPE_COMMON_AUX(CLASS)
^
/usr/include/upnp/TemplateInclude.h:138:1: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON’
TEMPLATE_PROTOTYPE_COMMON(CLASS)
^
/usr/include/upnp/TemplateInclude.h:37:17: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
typedef struct s_##CLASS CLASS; \
^
/usr/include/upnp/TemplateInclude.h:32:2: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON_AUX’
TEMPLATE_PROTOTYPE_COMMON_AUX(CLASS)
^
/usr/include/upnp/TemplateInclude.h:138:1: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON’
TEMPLATE_PROTOTYPE_COMMON(CLASS)
^
/usr/include/upnp/TemplateInclude.h:37:17: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
typedef struct s_##CLASS CLASS; \
^
/usr/include/upnp/TemplateInclude.h:32:2: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON_AUX’
TEMPLATE_PROTOTYPE_COMMON_AUX(CLASS)
^
/usr/include/upnp/TemplateInclude.h:138:1: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON’
TEMPLATE_PROTOTYPE_COMMON(CLASS)
^
/usr/include/upnp/TemplateInclude.h:37:17: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
typedef struct s_##CLASS CLASS; \
^
/usr/include/upnp/TemplateInclude.h:32:2: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON_AUX’
TEMPLATE_PROTOTYPE_COMMON_AUX(CLASS)
^
/usr/include/upnp/TemplateInclude.h:138:1: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON’
TEMPLATE_PROTOTYPE_COMMON(CLASS)
^
/usr/include/upnp/TemplateInclude.h:37:17: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
typedef struct s_##CLASS CLASS; \
^
/usr/include/upnp/TemplateInclude.h:32:2: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON_AUX’
TEMPLATE_PROTOTYPE_COMMON_AUX(CLASS)
^
/usr/include/upnp/TemplateInclude.h:138:1: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON’
TEMPLATE_PROTOTYPE_COMMON(CLASS)
^
/usr/include/upnp/TemplateInclude.h:37:17: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
typedef struct s_##CLASS CLASS; \
^
/usr/include/upnp/TemplateInclude.h:32:2: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON_AUX’
TEMPLATE_PROTOTYPE_COMMON_AUX(CLASS)
^
/usr/include/upnp/TemplateInclude.h:138:1: note: in expansion of macro ‘TEMPLATE_PROTOTYPE_COMMON’
TEMPLATE_PROTOTYPE_COMMON(CLASS)
^
upnp/upnp_igd.c:398:86: warning: ‘struct Upnp_Discovery’ declared inside parameter list
void upnp_igd_add_device(upnp_igd_context *igd_ctxt, IXML_Document *desc_doc, struct Upnp_Discovery *d_event) {
^
upnp/upnp_igd.c:398:86: warning: its scope is only this definition or declaration, which is probably not what you want
upnp/upnp_igd.c: In function ‘upnp_igd_add_device’:
upnp/upnp_igd.c:426:51: error: dereferencing pointer to incomplete type ‘struct Upnp_Discovery’
ret = UpnpResolveURL((baseURL ? baseURL : d_event->Location), relURL, presURL);
^
upnp/upnp_igd.c:520:112: warning: passing argument 8 of ‘upnp_igd_send_action’ from incompatible pointer type [-Wincompatible-pointer-types]
upnp_igd_send_action(igd_ctxt, deviceNode, IGD_SERVICE_WANIPCONNECTION, "GetNATRSIPStatus", NULL, NULL, 0, upnp_igd_callback, igd_ctxt);
^
upnp/upnp_igd.c:354:5: note: expected ‘Upnp_FunPtr {aka int (*)(enum Upnp_EventType_e, const void *, void *)}’ but argument is of type ‘int (*)(Upnp_EventType, void *, void *) {aka int (*)(enum Upnp_EventType_e, void *, void *)}’
int upnp_igd_send_action(upnp_igd_context* igd_ctxt, upnp_igd_device_node *device_node, int service,
^
upnp/upnp_igd.c:523:109: warning: passing argument 8 of ‘upnp_igd_send_action’ from incompatible pointer type [-Wincompatible-pointer-types]
upnp_igd_send_action(igd_ctxt, deviceNode, IGD_SERVICE_WANIPCONNECTION, "GetStatusInfo", NULL, NULL, 0, upnp_igd_callback, igd_ctxt);
^
upnp/upnp_igd.c:354:5: note: expected ‘Upnp_FunPtr {aka int (*)(enum Upnp_EventType_e, const void *, void *)}’ but argument is of type ‘int (*)(Upnp_EventType, void *, void *) {aka int (*)(enum Upnp_EventType_e, void *, void *)}’
int upnp_igd_send_action(upnp_igd_context* igd_ctxt, upnp_igd_device_node *device_node, int service,
^
upnp/upnp_igd.c:524:116: warning: passing argument 8 of ‘upnp_igd_send_action’ from incompatible pointer type [-Wincompatible-pointer-types]
upnp_igd_send_action(igd_ctxt, deviceNode, IGD_SERVICE_WANIPCONNECTION, "GetExternalIPAddress", NULL, NULL, 0, upnp_igd_callback, igd_ctxt);
^
upnp/upnp_igd.c:354:5: note: expected ‘Upnp_FunPtr {aka int (*)(enum Upnp_EventType_e, const void *, void *)}’ but argument is of type ‘int (*)(Upnp_EventType, void *, void *) {aka int (*)(enum Upnp_EventType_e, void *, void *)}’
int upnp_igd_send_action(upnp_igd_context* igd_ctxt, upnp_igd_device_node *device_node, int service,
^
upnp/upnp_igd.c: In function ‘upnp_igd_callback’:
upnp/upnp_igd.c:898:18: error: dereferencing pointer to incomplete type ‘struct Upnp_Discovery’
if (d_event->ErrCode != UPNP_E_SUCCESS) {
^
upnp/upnp_igd.c:905:48: warning: passing argument 3 of ‘upnp_igd_add_device’ from incompatible pointer type [-Wincompatible-pointer-types]
upnp_igd_add_device(igd_ctxt, desc_doc, d_event);
^
upnp/upnp_igd.c:398:6: note: expected ‘struct Upnp_Discovery *’ but argument is of type ‘struct Upnp_Discovery *’
void upnp_igd_add_device(upnp_igd_context *igd_ctxt, IXML_Document *desc_doc, struct Upnp_Discovery *d_event) {
^
upnp/upnp_igd.c:914:18: error: dereferencing pointer to incomplete type ‘struct Upnp_Discovery’
if (d_event->ErrCode != UPNP_E_SUCCESS) {
^
upnp/upnp_igd.c:924:18: error: dereferencing pointer to incomplete type ‘struct Upnp_Action_Complete’
if (a_event->ErrCode != UPNP_E_SUCCESS) {
^
upnp/upnp_igd.c:934:19: error: dereferencing pointer to incomplete type ‘struct Upnp_State_Var_Complete’
if (sv_event->ErrCode != UPNP_E_SUCCESS) {
^
upnp/upnp_igd.c:945:46: error: dereferencing pointer to incomplete type ‘struct Upnp_Event’
upnp_igd_handle_event(igd_ctxt, e_event->Sid, e_event->EventKey, e_event->ChangedVariables);
^
upnp/upnp_igd.c:953:19: error: dereferencing pointer to incomplete type ‘struct Upnp_Event_Subscribe’
if (es_event->ErrCode != UPNP_E_SUCCESS) {
^
In file included from upnp/upnp_igd.c:34:0:
upnp/upnp_igd.c:967:70: error: dereferencing pointer to incomplete type ‘struct Upnp_Event_Subscribe’
ret = UpnpSubscribe(igd_ctxt->upnp_handle, UPNP_STRING(es_event->PublisherUrl), &TimeOut, newSID);
^
upnp/upnp_igd_private.h:131:46: note: in definition of macro ‘UPNP_STRING’
#define UPNP_STRING(x) UpnpString_get_String(x)
^
upnp/upnp_igd.c: In function ‘upnp_igd_start’:
upnp/upnp_igd.c:1120:27: warning: passing argument 1 of ‘UpnpRegisterClient’ from incompatible pointer type [-Wincompatible-pointer-types]
ret = UpnpRegisterClient(upnp_igd_callback, igd_ctxt, &igd_ctxt->upnp_handle);
^
In file included from upnp/upnp_igd_utils.h:36:0,
from upnp/upnp_igd.c:33:
/usr/include/upnp/upnp.h:989:17: note: expected ‘Upnp_FunPtr {aka int (*)(enum Upnp_EventType_e, const void *, void *)}’ but argument is of type ‘int (*)(Upnp_EventType, void *, void *) {aka int (*)(enum Upnp_EventType_e, void *, void *)}’
EXPORT_SPEC int UpnpRegisterClient(
^
Makefile:2387: set di istruzioni per l'obiettivo "upnp/libmediastreamer_voip_la-upnp_igd.lo" non riuscito
make[5]: *** [upnp/libmediastreamer_voip_la-upnp_igd.lo] Errore 1
make[5]: uscita dalla directory "/tmp/sbopkg.tPalmB/linphone-3.12.0/mediastreamer2/src"
Makefile:1028: set di istruzioni per l'obiettivo "all" non riuscito
make[4]: *** [all] Errore 2
make[4]: uscita dalla directory "/tmp/sbopkg.tPalmB/linphone-3.12.0/mediastreamer2/src"
Makefile:641: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[3]: *** [all-recursive] Errore 1
make[3]: uscita dalla directory "/tmp/sbopkg.tPalmB/linphone-3.12.0/mediastreamer2"
Makefile:548: set di istruzioni per l'obiettivo "all" non riuscito
make[2]: *** [all] Errore 2
make[2]: uscita dalla directory "/tmp/sbopkg.tPalmB/linphone-3.12.0/mediastreamer2"
Makefile:619: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/tmp/sbopkg.tPalmB/linphone-3.12.0"
Makefile:547: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2
Cleaning up..
What do you think about, what could be the problem?
Thanks in advance!
|