linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] linphone 3.8.5 compilation error


From: Johan Pascal
Subject: Re: [Linphone-users] linphone 3.8.5 compilation error
Date: Mon, 25 Jan 2016 15:42:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Hi Petr,
to compile the latest linphone git version, you also need an updated belle-sip installed.

For the 3.8.5 version you shall install a belle-sip 1.4.1: http://www.linphone.org/releases/sources/belle-sip/belle-sip-1.4.1.tar.gz
but the error you report on the 3.8.5 compilation doesn't seem related to this.

I reproduce the deprecated attribute problem when not using --disable-strict, this is due to the ffmpeg version you use(too recent for this version of mediastreamer2), more recent version of mediastreamer2 doesn't use anymore this deprecated attribute but yours shall work anyway with the disable-strict.

I don't reproduce the liblinphone_gitversion.h missing file error, it shall be in linphone/coreapi/ directory if not, may be something went wrong when you unpacked the archive.

regards,

johan


On 25/01/16 15:18, Petr Hanousek wrote:
Hi,
currently I am trying to compile linphone 3.8.5 from
http://www.linphone.org/releases/sources/linphone/linphone-3.8.5.tar.gz
and getting a missing file error. The procedure is:
./autogen.sh
./configure --disable-strict
make

===cut===
linphonecore.c:49:37: fatal error: liblinphone_gitversion.h: No such
file or directory
compilation terminated.
===end of cut===

Even clonning source from git repository don't give me the requested
file. The newer version (from git) has it's own compilation problems:

===cut===
chat_file_transfer.c: In function
'linphone_chat_message_process_response_from_post_file':
chat_file_transfer.c:218:9: error: too many arguments to function
'belle_sip_multipart_body_handler_new'
    bh =
belle_sip_multipart_body_handler_new(linphone_chat_message_file_transfer_on_progress,
msg, first_part_bh, NULL);
===end of cut===


By the way, without --disable-strict in 3.8.5 configure option I am
ending here:

===cut===
videofilters/videoenc.c: In function 'process_frame':
videofilters/videoenc.c:840:3: error: 'coded_frame' is deprecated
[-Werror=deprecated-declarations]
   if (c->coded_frame->pict_type==FF_I_TYPE){
   ^
cc1: all warnings being treated as errors
===end of cut===

Gcc version is 5.3.1. Linphone version 3.8.4 compiles fine without
errors. More details in attachments.

Sincerely Petr



_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]