[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] compile error
From: |
Sébastien Escudier |
Subject: |
[Linphone-developers] compile error |
Date: |
Thu, 14 Mar 2013 12:57:37 +0100 |
User-agent: |
KMail/4.9.5 (Linux/3.5.0-25-generic; KDE/4.9.5; x86_64; ; ) |
Hello,
I have this error with upnp. I have installed libupnp6-dev.
I tried with libupnp4-dev and I have a another error.
CC upnp/upnp_igd.lo
upnp/upnp_igd.c: In function 'upnp_igd_callback':
upnp/upnp_igd.c:886:8: error: passing argument 2 of
'upnp_igd_handle_send_action' from incompatible pointer type [-Werror]
upnp/upnp_igd.c:634:6: note: expected 'const char *' but argument is of type
'struct UpnpString *'
upnp/upnp_igd.c:896:8: error: passing argument 2 of 'upnp_igd_handle_get_var'
from incompatible pointer type [-Werror]
upnp/upnp_igd.c:590:6: note: expected 'const char *' but argument is of type
'struct UpnpString *'
upnp/upnp_igd.c:915:8: error: passing argument 2 of
'upnp_igd_handle_subscribe_update' from incompatible pointer type [-Werror]
upnp/upnp_igd.c:806:6: note: expected 'const char *' but argument is of type
'struct UpnpString *'
upnp/upnp_igd.c:926:7: error: passing argument 2 of 'UpnpSubscribe' from
incompatible pointer type [-Werror]
In file included from upnp/upnp_igd_utils.h:5:0,
from upnp/upnp_igd.c:2:
/usr/include/upnp/upnp.h:2077:17: note: expected 'const char *' but argument is
of type 'struct UpnpString *'
upnp/upnp_igd.c:929:8: error: passing argument 2 of
'upnp_igd_handle_subscribe_update' from incompatible pointer type [-Werror]
upnp/upnp_igd.c:806:6: note: expected 'const char *' but argument is of type
'struct UpnpString *'
cc1: all warnings being treated as errors
make[5]: *** [upnp/upnp_igd.lo] Erreur 1
With libupnp4-dev :
CC upnp/upnp_igd.lo
upnp/upnp_igd.c:367:86: error: 'struct Upnp_Discovery' declared inside
parameter list [-Werror]
upnp/upnp_igd.c:367:86: error: its scope is only this definition or
declaration, which is probably not what you want [-Werror]
upnp/upnp_igd.c: In function 'upnp_igd_add_device':
upnp/upnp_igd.c:391:51: error: dereferencing pointer to incomplete type
upnp/upnp_igd.c:412:47: error: dereferencing pointer to incomplete type
upnp/upnp_igd.c:421:53: error: dereferencing pointer to incomplete type
upnp/upnp_igd.c:424:47: error: dereferencing pointer to incomplete type
upnp/upnp_igd.c:434:73: error: dereferencing pointer to incomplete type
- [Linphone-developers] compile error,
Sébastien Escudier <=