[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] compiler error in recent source
From: |
fib75025 |
Subject: |
[Linphone-users] compiler error in recent source |
Date: |
Tue, 25 Jun 2013 17:53:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
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] compiler error in recent source,
fib75025 <=