I get the following error when compiling Linphone 1.99.0 or
CVS
with GCC 4.1.2, libosip2-3.0.3 and libeXosip23.0.3:
> make[1]: Entering directory
`/root/tmp/linphone-20070908/coreapi'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I.
> -I. -I.. -I.. -I../mediastreamer2/include
-I/usr/include/ -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -Werror -DOSIP_MT
-DHAVE_PTHREAD
> -DHAVE_SEMAPHORE_H -DOSIP_MT -I../oRTP/include
-DENABLE_TRACE
> -DLOG_DOMAIN="LinphoneCore" -DINET6
-DORTP_INET6 -O2 -march=i486
> -mtune=i686 -fno-strict-aliasing -MT linphonecore.lo
-MD -MP -MF
> ".deps/linphonecore.Tpo" -c -o
linphonecore.lo linphonecore.c;
> then mv -f ".deps/linphonecore.Tpo"
".deps/linphonecore.Plo";
> else rm -f ".deps/linphonecore.Tpo"; exit 1;
fi
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../mediastreamer2/include
> -I/usr/include/ -Wall -Wp,-D_FORTIFY_SOURCE=2 -Werror
-DOSIP_MT
> -DHAVE_PTHREAD -DHAVE_SEMAPHORE_H -DOSIP_MT
-I../oRTP/include
> -DENABLE_TRACE -DLOG_DOMAIN="LinphoneCore"
-DINET6 -DORTP_INET6 -O2
> -march=i486 -mtune=i686 -fno-strict-aliasing -MT
linphonecore.lo -MD
> -MP -MF .deps/linphonecore.Tpo -c linphonecore.c -fPIC
-DPIC -o
> .libs/linphonecore.o
> cc1: warnings being treated as errors
> linphonecore.c: In function
'linphone_core_set_sip_port':
> linphonecore.c:879: warning: implicit declaration of
function
> 'eXosip_set_rsvp_mode'
> linphonecore.c:880: warning: implicit declaration of
function
> 'eXosip_set_rpc_mode'
> linphonecore.c: In function
'linphone_core_change_qos':
> linphonecore.c:1221: warning: implicit declaration of
function
> 'eXosip_answer_call'
> linphonecore.c:1226: warning: passing argument 2 of
> 'ms_snd_card_manager_get_card' from incompatible
pointer type
> linphonecore.c:1236: warning: implicit declaration of
function
> 'eXosip_answer_call_with_body'
> make[1]: *** [linphonecore.lo] Error 1
> make[1]: Leaving directory
`/root/tmp/linphone-20070908/coreapi'
> make: *** [install-recursive] Error 1
I couldn't find anything about these function declarations.
What would have to be changed to solve this error?
These are my configuration parameters:
./configure
--prefix=/usr
--sysconfdir=/etc
--localstatedir=/var/lib
--enable-shared
--disable-static
--enable-alsa
--enable-ipv6
--enable-rsvp
Could it be that rsvp doesn't work anymore or static
compilation must be enabled?
Sunil
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|