[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] compiler error in recent source
From: |
Pavel Baranchikov |
Subject: |
Re: [Linphone-users] compiler error in recent source |
Date: |
Wed, 26 Jun 2013 11:46:15 +0400 |
User-agent: |
KMail/4.10.4 (Linux/3.4.42-2.28-desktop; KDE/4.10.4; x86_64; ; ) |
Hello,
Use --disable-strict paaemeter in ./configure script. It disables "show
error on all warnings" functionality.
./configure --disable-sctict
> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users
Best regards,
Pavel Baranchikov
Tuesday 25 June 2013