Hi! I have tried to compile the sources of version 3.6.0, 3.6.1, git (by using ./autogen.sh; ./configure --prefix=/usr/local --disable-video; make). But for each source, "make" stops at the file "gtk/propertybox.c".

    Making all in gtk
    make[2]: Entering directory `/home/tux/linphone-3.6.1/gtk'
    make  all-am
    make[3]: Entering directory `/home/tux/linphone-3.6.1/gtk'
      CC       propertybox.o
    propertybox.c: In function ‘linphone_gtk_show_parameters’:
propertybox.c:1103:2: error: call to function ‘linphone_core_upnp_available’ without a real prototype [-Werror=unprototyped-calls]
    In file included from linphone.h:29:0,
                     from propertybox.c:20:
../coreapi/linphonecore.h:1204:8: note: ‘linphone_core_upnp_available’ was declared here
    cc1: all warnings being treated as errors
    make[3]: *** [propertybox.o] Error 1


Looking at "propertybox.c:1103" we find the code line
    if(!linphone_core_upnp_available(lc)){

but looking at "linphonecore.h:1204" we find the code line
    bool_t linphone_core_upnp_available();


Hence, I removed the variable "lc", that is,
    if(!linphone_core_upnp_available()){

and the source compiled fine... Someone might check and update the source this way or another way... Thanks! Fib

_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to